Skip to Content
0
Former Member
Feb 13, 2009 at 01:21 PM

Redwood CPS - how to define dependant jobs?

176 Views

Hi

I am trying to schedule a job to run only after another job has ran successfully using Redwood CPS. I understand that the best way to do this is as follows:

1) Define an new event - e.g. JOB_COMPLETION

2) Define a new Job Chain, and assign a Step and a the first job to run to this. Set the 'Raise Events' tab to JOB_COMPLETION and the drop down box 'Status To Raise On' to 'Completed'

3) Define another new Job Chain with a Step and the next job you want to run after completion of the first job. Set the 'Wait Events' tab to JOB_COMPLETION and Auto Submit to 'Always' and tick the 'clears event' tick box

4) Right click on the first Job Chain and Submit - set a time for the job to run.

What happens: the first job chain/step runs okay. Looking at the event JOB_COMPLETION it says both the Raise Event and Wait Event were both executed - and cleared afterwards - yet the second Job Chain was never ran? In the job status, it says 'Never'.... any idea how I get this to run on completion of the first job?

Thanks

Ross