Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Mastering Change Data Capture: Read Now
cancel
Showing results for 
Search instead for 
Did you mean: 
balutos
Contributor
Contributor

Pass job list dynamically to execute one by one on trun job

Hi,

I am working on  reading job names from Database table and iterate jobs  list one by one to pass list of jobs to trun job component and execute all jobs one by one dynamically with out choosing list of jobs from repository.

 

I am doing exact the same flow (using Talend 6.4) you mentioned in the below post.

https://community.talend.com/t5/Design-and-Development/TOS-5-0-1-tRunJob-use-dynamic-job-fails-not-i...

tFileInputDelimited--row1(main)--tFlowToIterate--tJava--oncomponentok--tRunJob

 

1.  After getting list of jobs I need to pass all these jobs using dynamic option on trun job component to do this we need to browse all the jobs from the result and check the list of jobs then only we can run child jobs.

 

Do we have option to execute all these child jobs without selecting by manually and execute all above list of child jobs one by one.

 

2. Please provide details for when the job is started,I will assign  context/any variable value as processing, once job competed status changed to finished.

 

Labels (3)
1 Reply
Anonymous
Not applicable

Hello,

To have tRunjob call a dynamic subjob, you do have every job that you want that "Father" job to be able to call in the list. You shouldn't include any "Child" jobs in the list that this "Father" job will never call.

Here is a related topic:https://community.talend.com/t5/Design-and-Development/tRunJob-Dynamic-Jobs-Context-Passing-Not-Work...

Let us know if it helps.

Best regards

Sabrina