SubJob passing data to parent

Five Stars

SubJob passing data to parent

I need to send data from a child subjob to the main job. I followed the example below which works correctly.

https://help.talend.com/reader/4DeHFFMWIhiAwTaUkEqnmg/~cRLgohZ4DreM9xowt3V~w

 

However, in the example, the main job start by calling the child job, then log the returns. Pretty straight forward, but it works. In my case, I have to do come operations before calling the subjob. The problem is as soon as there is a component before my tRunJob, the data from the child job is not returned to my main job. For exemple, I added a tRowGenerator at the start of my job, the compoenent generate a single row then call my subjob. It seems like tRunJob is not working when this component is not the one initiating the data flow.

 

See attachmentfor details

thanks

Moderator

Re: SubJob passing data to parent

Hello,

What does your child job look like? Could you please also post your child job work flow screenshot on forum?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.