throw new ApplicationJobAlreadyExistsException(job.getJobId());
}
// if (!isWorkflowInstanceNodePresent(job.getWorkflowExecutionId(), job.getNodeId())){
// throw new WorkflowInstanceNodeDoesNotExistsException(job.getWorkflowExecutionId(), job.getNodeId());
// }
ExperimentDataResource expData = jpa.getWorker().getExperiment(job.getExperimentId()).getData();
GFacJobDataResource gfacJob = expData.createGFacJob(job.getJobId());
gfacJob.setExperimentDataResource(expData);
gfacJob.setWorkflowDataResource(expData.getWorkflowInstance(job.getWorkflowExecutionId()));
gfacJob.setNodeID(job.getNodeId());
setupValues(job, gfacJob);
gfacJob.save();
addApplicationJobStatusData(job.getJobId(), job.getStatus(), job.getStatusUpdateTime(),gfacJob);
}