My code starts with tPrejob => tFileExist to check if external context file exist,
IF not create a new file, and dump contexts into this file (5-6 components);
IF exists, run tContextLoad to load all contexts from external file.
Then I want to do a few other tasks in tPrejob which only can be run after one of the above process is finished, how can I merge those two branches into one?
Certainly I add those other tasks into both branches via OnSubjobOk, but I don't want to duplicate the code.
Solved! Go to Solution.
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
Accelerate your data lake projects with an agile approach