List<CoordinatorActionBean> actionList = jpaService.execute(new CoordJobGetActionsJPAExecutor(jobId));
for (CoordinatorActionBean action : actionList) {
if (action.getStatus() == CoordinatorActionBean.Status.RUNNING) {
// queue a SuspendXCommand
if (action.getExternalId() != null) {
queue(new SuspendXCommand(action.getExternalId()));
updateCoordAction(action);
LOG.debug("Suspend coord action = [{0}], new status = [{1}], pending = [{2}] and queue SuspendXCommand for [{3}]",
action.getId(), action.getStatus(), action.getPending(), action.getExternalId());
} else {
updateCoordAction(action);