Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello, I've read dozens of threads and the tutorial (https://community.talend.com/t5/Design-and-Development/Passing-a-value-from-a-parent-Job-to-a-child-...) regarding this topic but I can't get it to work. I've tried using the globalMap variable but I just get a null object in the parent job (see screenshots). I also tried using context variables in the child job where I can get the correct value passed but I can't modify the initial value set in Contexts (number 2 in the screenshot). Either way works for me, I just need this true/false boolean in the child job to be available in the parent job. If someone could help me, it'd be greatly appreciated.
I found the problem. I used tJavaRow to put the variable in the globalMap but the tJavaRow wasn't executed as I retrieved 0 rows which is why I got a null. Thanks to your confirmation that I did everything right I was able to find the problem. Thank you
Hi, I get the same issue, when there is null from the tBufferOutput, the tJavaRow component was not executed, any idea why?
@beldr wrote:
I found the problem. I used tJavaRow to put the variable in the globalMap but the tJavaRow wasn't executed as I retrieved 0 rows which is why I got a null. Thanks to your confirmation that I did everything right I was able to find the problem. Thank you