I tried using tUnite component but it does not accept links from loop flows.
This is a very strange requirement. If you want all of your outputs from a tMap to be merged together again, why separate them in the tMap? You say they have the same schema, so I can only imagine it is the content that is different per output. If you are immediately wanting to merge these again, why separate them at all?
I am sure I either have misunderstood or there is a reason I have missed. But to merge them together again, you can use the tUnite. All you need to do is output from the tMap to several tHashOutput components. Then, in another subjob, use tHashInput components for each of the outputs and use a tUnite to merge these.
Basically, once you have split a flow in a subjob, you cannot re-merge it again. So in a tMap, if you split the flow into several flows, the only way to remerge them is to start a new subjob and do it from there. The tHash components are very useful for doing this in memory.
In tmap i did multiple validations and output in different links .. these are records rejects which includes my own reject reasons. After output from tmap i need to combine the links together again so that i can output to one single file concurrently. So i need something to merge all output links together, so that only one link writes to one file using tdelimitedfile component.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema