Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I'm working on a parent/child job.
Child processes pictures and fills a tBufferOutput with personname and filename. The tLogRow component shows me that's ok.
I want to re-use that tBuffer in a parentjob.
Created a tRunjob, copied Child Job Schema and use a tBufferInput. When I use a tLogRow it shows as empty.
The tBufferInput has the correct schema.
Any ideas? 🙂
Thanks!
yes cause it create an output flow on the tRunJob component
Hi, you have to check in Advanced settings of tRunJob propagate the child result to the output schema.
Send me love and kudos
Hi @guenneguez jeremy ,
Yes, first thing I tried.
When I put the tLogRow directly behind the tRunJob with no tBufferInput it outputs the data...
Does that mean I don't have to use the tBufferInput?
yes cause it create an output flow on the tRunJob component
Good to know, Today I learned 🙂 Thanks!
Hello,
To pass flow from father job to child job, you are able to use context variables, see
https://community.talend.com/s/article/Passing-a-value-from-a-parent-Job-to-a-child-Job-OPRy5
or use joblet feature in Talend subscription solution.
You may need to return a value or rows from a child Job to the parent Job for further use and this KB article shows the best practice of how to pass a value with a tBufferOutput component from a child Job to the parent Job.
https://community.talend.com/s/article/Returning-a-value-from-a-child-Job-to-the-parent-Job-DqbEu
Hope it helps.
Best regards
Sabrina