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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
dwhdeveloper
Contributor
Contributor

Run different sub job based on input

I am getting input from Jenkins. 

I would like to run different sub job if there is one input and another one if there are 3 inputs. 

Is there a way I can do that in Talend ? 

Labels (2)
4 Replies
Anonymous
Not applicable

Yes, you can do this. On the tRunJob there is an option to "Use Dynamic Job". This is explained here https://help.talend.com/reader/jomWd_GKqAmTZviwG_oxHQ/ICv6hRE2pgpUtQFvQDmxkg

David_Beaty
Specialist
Specialist

Hi,

An important point about using the Dynamic Job functionality, which is rather clever, is that you need to nominate when designing the jobs which ones can possibly be called dynamically, so they can be included at build time of the parent job.

Very useful functionality none the less.

Anonymous
Not applicable

Good spot @dsoulalioux, I forgot to include that nugget of information 🙂

dwhdeveloper
Contributor
Contributor
Author

I ended up using tJava and wrote conditions for runif to chose which sub job to run