I assume you are trying to write the output to a file after merging.
The first flow after join (order 1) will push good data and create the file. The second flow also ca be transmitted to same file but in the case of second file, select the append option in enabled status. This will make sure that both good and rejected data are present in same file.
-- If you think the suggestion provided has helped you, please mark the topic as accepted solution given.
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