Hi All,
Could you please help on the below query.
I have a below job chain 'JOBCHAIN_ALERT' with 2 steps.
Example:
JOBCHAIN_ALERT :
Step 1
Job1
Step 2
Job 2
I am re-submitting the Job chain 'JOBCHAIN_ALERT' at job definition level in post running action of Job2 using the below code.
JobDefinition aJobDef = jcsSession.getJobDefinitionByName("JOBCHAIN_ALERT");
// create the job from the job definition
Job aJob = aJobDef.prepare();
Instead of hard coding the job chain name in the post running action. How can I dynamically get the job chain name and submit it.
Thank you in advance.
Regards,
Ramana