Quantcast
Channel: SCN : Popular Discussions - SAP Business Process Automation by Redwood
Viewing all articles
Browse latest Browse all 1466

JOB Chain Name

$
0
0

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


Viewing all articles
Browse latest Browse all 1466

Trending Articles



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