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