tForeach with a subjob

One Star

tForeach with a subjob

Hi guys ,

I have a two questions.

I need to perform a job with just a rule = 1 , rule = 2 , rule = 6 parameter in one of my select * from mytable where rule = xx.

So i put that Job as a child and create a father Job whith a tLoop->iterate->tRunJob

But i can't pass de __VALUE__ of my foreach to my childjob.

Is there a thing a need to know ? is it possible ? because i can't create a context variable in this child Job. All the button of my child job are read only !!

Someone have an idea ?

Best regards from France.


bruno
Community Manager

Re: tForeach with a subjob

Hello
Is there a thing a need to know ? is it possible ? because i can't create a context variable in this child Job. All the button of my child job are read only !!

No, you must define context var in child job to receive the value passed from father job.
I need to perform a job with just a rule = 1 , rule = 2 , rule = 6 parameter in one of my select * from mytable where rule = xx.

Why don't you use the tForEach component and iterate each value. see my screenshots.

Best regards

shong
----------------------------------------------------------
Talend | Data Agility for Modern Business

2019 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Have you checked out Talend’s 2019 Summer release yet?

Find out about Talend's 2019 Summer release

Blog

Talend Summer 2019 – What’s New?

Talend continues to revolutionize how businesses leverage speed and manage scale

Watch Now

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog