Hi, I have a job that is distributed as follows, a tFixedFlowInput as input to tMap, and a tRunJob connected as lookUp to it. As an output I have a tLogRow just to see the output.
The idea is to decide in the tMap for some incoming record if the job of the tRunJob should be run or not, is this possible?
thanks in advance
Yes and no. You just have to do it in a different way. The easy way is to use another tMap and output to two paths; one for data requiring a lookup, another for data that doesn't require a lookup. Then use your lookup tMap for the flow requiring a lookup and the other path can go wherever else you need it to go. If you need to group the data together again, output your two paths to linked tHashOut components. Then in another subjob, read the data in using a tHashInput.
You can also do something a bit more complicated with a single tMap using the "Reload at each row" Lookup Model. Take a look at the tMap documentation to discover this very useful functionality. But since I am guessing you are new to this, I would start with my first suggestion.
Join us at the Community Lounge.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Pick up some tips and tricks with Context Variables
Take a look at this technical overview video of Talend API Designer
Find out how to get started with APIs