break;
case FAILED:
try {
failJob(context);
// update coordinator action
new CoordActionUpdateXCommand(wfJob, 3).call();
new WfEndXCommand(wfJob).call(); // To delete the WF temp dir
SLADbXOperations.writeStausEvent(wfAction.getSlaXml(), wfAction.getId(), Status.FAILED,
SlaAppType.WORKFLOW_ACTION);
SLADbXOperations.writeStausEvent(wfJob.getSlaXml(), wfJob.getId(), Status.FAILED,
SlaAppType.WORKFLOW_JOB);