[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.
Re: [resolved] How to Return Values from a child job to parent job in Talend
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.