Page 1 of 1

Abort Sequence But Complete All Jobs First

Posted: Wed Feb 25, 2009 12:45 pm
by dec1177
I am looking to allow a sequence I have built to finish running all remaining jobs in its sequence, but abort upon completion if at any point in the sequence one of its jobs has failed.

I found this thread which very closely resembles what I am looking to achieve:

http://dsxchange.com/viewtopic.php?t=12 ... f65b1d1f67

This user was satisfied by removing his terminator activity, which allowed all subsequent jobs to complete, but his sequence still finished successfully and he was fine with that. I am hoping to achieve this same result but have the sequence log an Aborted status.

Any help is much appreciated.

Thanks.

Posted: Wed Feb 25, 2009 12:51 pm
by chulett
Ah, yes, that post. Seems like you'll need to set some kind of indicator, something you can check on later, to see if any jobs had problems and the Sequence itself should be aborted as a result. And then check on that 'indicator' after job and if found or set, issue the abort there.

Perhaps that's as simple as a semaphore file.