List<CoordinatorActionBean> actionList = store.getActionsForCoordinatorJob(jobId, false);
for (CoordinatorActionBean action : actionList) {
if (action.getStatus() == CoordinatorActionBean.Status.RUNNING) {
// queue a SuspendCommand
if (action.getExternalId() != null) {
queueCallable(new SuspendCommand(action.getExternalId()));
}
}
}
store.updateCoordinatorJob(coordJob);
}