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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Passing value from child job to parent job

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.

0683p000009M01t.png0683p000009M0Oa.png0683p000009M0Of.png

Labels (3)
12 Replies
Anonymous
Not applicable
Author

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 0683p000009MACn.png

TRF
Champion II
Champion II

You're wellcome, don't forget to mark your case as solved (Kudos also accepted)
Anonymous
Not applicable
Author

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 0683p000009MACn.png