Page 1 of 1

Query related to Sequence Trigger

Posted: Thu Nov 19, 2009 12:41 am
by ayan
I have 2 jobs in a sequence in seires,connected by OK trigger.Warn limit for the jobs is 0 . Now if the first job finishes with say 10 warnings,will the second job run?

Posted: Thu Nov 19, 2009 12:56 am
by DS_SUPPORT
No, as the trigger is set to OK, the second job wont be called if first job finished with warnings.

Posted: Thu Nov 19, 2009 2:49 am
by ayan
Ok.A custom trigger is probably required then.Another thing is tthat if I am running a sequence with 3 jobs(running concurrently) and one them finishes with Warning and the rest finish OK;in that case what will be the status of the sequence?Will it be finished with Warnings?

Posted: Thu Nov 19, 2009 3:54 am
by DS_SUPPORT
Eventually, the status of the Sequence Job should be Finished With Warnings, but in some cases , i have observed even though one job finishes with warnings, the Sequence job staus is Finished.

For handling this, Enable "Automatically Handle Activities That Fail" in the job properties of the Sequence job.

Posted: Thu Nov 19, 2009 6:24 am
by chulett
The Sequence job itself will generally finish fine, regardless of how many warnings the jobs it runs have. Options like the 'Automatically handle activities that fail' can change that behaviour, or course, of the use of a Terminator stage, which cause the actual Sequence job generate warnings or even aborts.

Posted: Thu Nov 19, 2009 6:26 am
by chulett
And yes, you'd either need two triggers and a Sequencer or a custom trigger to allow a downstream job to fire if the previous job finished OK or with Warnings.

Posted: Thu Nov 19, 2009 7:16 am
by ray.wurlod
There is, of course, another compilation option in the sequence, to log a warning if any activity finishes with a status other than OK. If this option is selected, and an activity finishes with a status other than OK, then the sequence simply can not finish with a status of OK (Finished).