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 :-)
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
Learn how media organizations have achieved success with Data Integration
Create systems and workflow to manage clean data ingestion and data transformation.