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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Raghunath
Creator
Creator

[resolved] How to Return Values from a child job to parent job in Talend

Hi,
I working on a logic in Talend for which I need to share values from child job to parent job. I have created test Parent and child job (I can't use tSetGlobalVar component ) to check how to implement. I found below link (may be posted 3 years back) in which process is given to implement by requirement but it is not working for me.
I am getting below error.
Exception in component tJava_1
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
http://www.talendbyexample.com/talend-returning-values-from-subjobs.html 
I changed many ways but I am not able to achieve my requirement.
Attached screen shots shows, what I am using.
Thanks and Appreciate your help,
L Raghunath.
0683p000009MCFt.jpg 0683p000009MCJQ.jpg 0683p000009MC9I.jpg 0683p000009MCA1.jpg 0683p000009MCA2.jpg
Labels (3)
1 Solution

Accepted Solutions
Raghunath
Creator
Creator
Author

Issue is resolved when I uncheck "Use an independent process to run subjob" property in tRunJob (Tes). 
Thanks,
L Raghunath.

View solution in original post

2 Replies
JR1
Creator III
Creator III

Although I do not know what you have tried but "Use an independent process to run subjob" in your "Tes" component must be left unchecked. If this is checked, both jobs will - simply speaking - not know of each other and may therefore not exchange parameters. If you compare this with the screenshots in the link you mention above, you will notice that it is unchecked.
Raghunath
Creator
Creator
Author

Issue is resolved when I uncheck "Use an independent process to run subjob" property in tRunJob (Tes). 
Thanks,
L Raghunath.