public void killChildren() throws CommandException {
if (actionList != null) {
for (CoordinatorActionBean action : actionList) {
// queue a WorkflowKillXCommand to delete the workflow job and actions
if (action.getExternalId() != null) {
queue(new KillXCommand(action.getExternalId()));
// As the kill command for children is queued, set pending flag for coord action to be true
updateCoordAction(action, true);
LOG.debug(
"Killed coord action = [{0}], new status = [{1}], pending = [{2}] and queue KillXCommand for [{3}]",
action.getId(), action.getStatus(), action.getPending(), action.getExternalId());