I want to chose between two data flows depending on how many inputs i get.
Is there a way I can run the same sub component for two different data flows and only one of them runs based on if/else?
I know how to run two different sub jobs based on if/else.
Just want to run the same sub components based on input chosen.
If you can assign each input a specific value (say 1 for input A, 2 for input B etc.) then you can do the filtering and redirection of data using tMap itself. You have to add the output expression filter to specify the flow which need to go to output.
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)
Watch the recorded webinar!
Introduction to Talend Open Studio for Data Integration.
Test drive Talend's enterprise products.
Practical steps to developing your data integration strategy.