Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Mayur2
Contributor II
Contributor II

Deployment Of Talend With Passing Parameters via Parent and selecting respective child

Hi Team,

I have a scenario , please assist :

I have a Grandparent, parents(2) and multiple childs(7) .

G -> P1 ->C1,C2,C3,C4,C5 Ideal Flow 1 (assuming no restriction/filter on age and gender)

G ->P2 -> C6,C7 Ideal Flow 2 (assuming no restriction/filter on age and gender)

C2,C4,C5,C6 --> Males

C1,C3,C7 --> Females

C1 ,C3,C6 are < 18 age

 

Here I am using context Params while calling G.

G(context.parent,context.Gender,context.age)

context.parent should call respective P1 or P2

Once P1 / P2 is selected based on Gender and Age Only those childs should be executed.

Eg. G(P1,M,20) , Here Packages to be execute should be 😆 G,P1,C2,C4,C5 

 

Currently using context_params I am only able to execute Individual childs.

Please assist in passing params from Grandparent to parent and then to child

 

Here Each Grandparent(1), Parent(2), Child(7) stands for an Individual Job / Activity. i.e Total of 10 Talend Interlinked Jobs.

 

 

Labels (3)
1 Reply
Anonymous
Not applicable

Hi

I don't understand your questions well, however, it seems you are trying to execute the child jobs dynamically, there is already an option 'use dynamic job' on tRunJob that supports to run the child job dynamically, iterate the name of selected child job one by one and assign it to context variable, then call the tRunJob.

 

Regards

Shong