Page 1 of 1

Custom trigger in sequence. DSJS.RUNNING

Posted: Thu Jul 10, 2008 10:12 am
by ramnishgupta
I am trying to sequence the below jobs.

Job1a Job2a Job3a

Job1---Ok--->Job2---Ok--->Job3

I want to start Job1a as soon as Job1 starts, Job2a as soon as Job2 starts and Job3a as soon as job3 starts.

To do this i created custom triggers on Job1, Job2, Job3

Job1.$JobStatus = DSJS.RUNNING
Job2.$JobStatus = DSJS.RUNNING
Job3.$JobStatus = DSJS.RUNNING

The sequence executes by running Job1, Job2 and Job3 but does not execute the custom trigger. Job1a, Job2a and Job3a do not run.
Anyone knows how to fix this?

Thanks.

Posted: Thu Jul 10, 2008 11:10 am
by chulett
You can't as the Sequence will always do a 'WaitForJob'. You'd need to start the two jobs at the same time instead.

Posted: Thu Jul 10, 2008 3:23 pm
by ray.wurlod
Simply remove the links. The jobs will then run at the same time.

Triggers are not checked until the job (or other activity) finishes.