Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there,
Is there a possibility, using the implicite load defined in the project properties, to only load a variable if it is null or empty ?
I have the following problem :
job 1 (father)
--> job 2
--> job 3
job 1 is the father of job 2, which is the father of job 3.
I want to launch job 1 or only job 2, depending on what I want to do.
If I change a context var in my job 1 and send it to job 2 using "Transmit whole context" option, job 2 is going to reload the variable because the implicite load option.
But I need this option if I only want to launch job 2...
Thanks for your help !
did you try to remove "Use Project Setting"(Job Setting --> extra) and remove implicit contectLoad (Job2 and Job3) only for child jobs (Job2 and Job3)?
If you cannot do above , you might have to override all child context after it is defined by implicit.
For that you would need to pass all Parent context to child through HashMap.
And after child implicit context loaded , then override each of your child context with Parent HashMap Value.in Tjava.
Let me know if it works.
Could you please explain about your scenario in detail?
did you try to remove "Use Project Setting"(Job Setting --> extra) and remove implicit contectLoad (Job2 and Job3) only for child jobs (Job2 and Job3)?
If you cannot do above , you might have to override all child context after it is defined by implicit.
For that you would need to pass all Parent context to child through HashMap.
And after child implicit context loaded , then override each of your child context with Parent HashMap Value.in Tjava.
Let me know if it works.
Thank you for your answer,
I get it in another discussion, you have to desactive the implicite context load in all the sub-job, which was what I was questionning.
Thanks !