One Star

two "On Component Ok"

Hi
My job creates two files, fileA and fileB. Once fileA and fileB are created, I would like to delete some other file, fileC, using tFileDelete. What I did is create one "On Component Ok" trigger from fileA to fileC and another "On Component Ok" from fileB to fileC. I was thinking that tFileDelete would be triggered once the two components are ok. Actually, the tFileDelete triggers as soon as it receives the "On Component Ok". Is there a way to achieve what I want?
Thanks,
--
Eric
3 REPLIES
Not applicable

Re: two "On Component Ok"

For me "onSubjobOk" sounds ok for you purpose. I think a screenshot of your current job could help understanding what exactly you are trying to do and what may be linked in a wrong way.
Otherwise you could do creation of the two files in a subjob and then trigger deletion with "onSubjobOk".
Regards,
Theo
One Star

Re: two "On Component Ok"

Thanks for replying. Here is the screenshot.
One Star

Re: two "On Component Ok"

How about trying something like this....