Page 1 of 1

Need To Abort Master Sequence While Any Child Job Fails

Posted: Mon Mar 14, 2005 12:04 am
by Rubu
Hi

We are using a master sequenece to call many other sequences. All dependent sequences are triggered with OK--condition. But while Jobs fails inside CHILD sequence, it still triggers the next sequence, as the Job_Activity stage returns OK--for that seqence.

How can I trape only the abort situations for the jobs. While a job is aborted inside any child seq, the sequence should abort. Warning from job should not produce warnings for the sequence.

Thanks

Posted: Mon Mar 14, 2005 12:28 am
by Sainath.Srinivasan
Call the DSLogFatal from a routine via the Sequencer. Alternatively use the corresponding "Utility" log fatal.

Need To Abort Master Sequence While Any Child Job Fails

Posted: Fri Mar 18, 2005 11:36 pm
by rajiivnb
In child sequence, in the job properties --> peformance tab, click the
'Automatically handle activities that fail' check box, i hope this will solve ur problem. also in the master sequence click the 'Add checkpoints so sequence is restartable on failure' check box, it will make ur master sequence to start from the failure child sequencer..... this will solve ur problem.. The master sequence will say its finished, instead of abort. u can find which child sequence is aborted, it will show the aborted sequence.