Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
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.
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