Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
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.
Thanks,
Bin
Thanks TRF.
I found a way: Use OnSubjobOK from tFileExists component.