Talend Connect
Virtual Summit
JOIN US!
And visit the Customer
& Community Lounge.
May 27-28, wherever you are.

Pass values from parent Job to child using tBufferOutput/tBufferInput

Highlighted
Two Stars

Pass values from parent Job to child using tBufferOutput/tBufferInput

Hi , 
I am working on a scenario where i pass call rest service and execute some job in talend. I need to save the parameters  fetched from the Rest service to tBufferOutput and reuse these parameters in tBufferInput in a different Job (child Job), which will be eventually called by this parent JOb.
As of now I am not getting the values saved in the tBufferOutput in tBufferInput.
Is there any Gap? or it is not feasible ?
Shall i switch to saving these values returned from the tRest component into some flat file and red them or something else?

Thanks & regards, 

Highlighted
Moderator

Re: Pass values from parent Job to child using tBufferOutput/tBufferInput

Hi,
Are you using tRunJob in an independent process? When tRunJob runs in an independent process, it can't extract datas from tBufferOutput because the parent job and the child job are run in different JVM.
Have you already checked document about:TalendHelpCenterSmiley Tongueassing a value from a parent Job to a child Job?
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.

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog