Page 1 of 1

Sequence Issue

Posted: Fri Mar 23, 2012 7:29 am
by sush26283
I have a sequence job, which looks like this..

Job_activity1--->job_activity2--->....job_activityN

and at the trigger(all of them) I have the custom (conditional) with expression as Job1.$JobStatus = DSJS.RUNWARN, so that the trigger is initiated even if there is any warning.

I had this scheduled, but after it ran all fine I noticed that only Job_activity1(the first job) ran and it did not trigger the next to run.So, the whole sequence did not run but only the first part, and the job log shows as successful.

Can anyone tell me where am making the mistake, due to which the whole sequence did not run.

Thanks in advance

Posted: Fri Mar 23, 2012 8:06 am
by chulett
That trigger means the next job only runs when the previous job finishes with warnings. A successful run will not trigger the next job. You need to check for RUNOK or RUNWARN.

Posted: Fri Mar 23, 2012 8:14 am
by sush26283
so what you are saying is that I should use the expression as Job1.$JobStatus = DSJS.RUNWARN or Job1.$JobStatus = DSJS.RUNOK in all of the job activity stages

Posted: Fri Mar 23, 2012 8:51 am
by chulett
Yes. If you want to allow warnings to be ok.

Posted: Fri Mar 23, 2012 9:20 am
by sush26283
Thank You Sir!!!