Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

Parent job

$
0
0

Hi,

 

I am trying to mark the parent chain to status completed using the post running action. But not able to find the correct method. Advise please.

 

JobDefinition aJobDef = jcsSession.getJobDefinitionByName(jcsJob.getParentJob().getParentJob().getJobDefinition().getName());

 

aJobDef.setFinalStatus(JobStatus.Completed);

 

Thanks,

Chandu


Viewing all articles
Browse latest Browse all 9052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>