Sequencer design
Posted: Thu Nov 05, 2015 1:35 pm
All, Need a help in sequencer design. I have a sequencer,
Job Activity----Execute Command---Wait For File Activity-- Job Activity2
Basically, when after Job1 is completed there is a batch file which count the rows through execute command. If rows >100 then the batch file creates a blank.txt file- after Wait file will wait for the file and trigger Job2.
Now issue is if the count is <100 then the blank.txt file wont generate and wait activity will wait for 10 mints then abort.
What should we do if we dont want to abort the job. I mean, wait file activity will wait for 10 mints and then the sequencer should finish but Job2 should not trigger.
Can we use exception handling or terminator activity.
Thanks.
Job Activity----Execute Command---Wait For File Activity-- Job Activity2
Basically, when after Job1 is completed there is a batch file which count the rows through execute command. If rows >100 then the batch file creates a blank.txt file- after Wait file will wait for the file and trigger Job2.
Now issue is if the count is <100 then the blank.txt file wont generate and wait activity will wait for 10 mints then abort.
What should we do if we dont want to abort the job. I mean, wait file activity will wait for 10 mints and then the sequencer should finish but Job2 should not trigger.
Can we use exception handling or terminator activity.
Thanks.