Page 1 of 1

Setting DSJS.RUNFAILED to DSJS.RUNWARN or DSJS.RUNOK

Posted: Thu Dec 11, 2008 2:47 pm
by UPS
I have created a DS job which completes with an error, and the error is allowed for this situation, but I'd like the stream to continue to the next job. Is there a way to change the JobStatus of a Job Activity from DSJS.RUNFAILED to DSJS.RUNOK?

This job is also called from a sequence, so since the job's status is in abort condition, the sequence also aborts. Is there a way for the sequence NOT to abort?

Any ideas on this are greatly appreciated.

Posted: Thu Dec 11, 2008 2:54 pm
by chulett
While you can't change one status to another, you can let the Sequence know it's ok by using the right triggers for the situation. What are you using now and do you have the "Automatically handle activities that fail" option enabled?

Posted: Thu Dec 11, 2008 2:56 pm
by kandyshandy
Which one is your requirement?

if that job aborts, then you want to proceed to the next job

or

if that job succeeds or aborts, you want to proceed to the next job?

TRIGGER page of that job in Sequence allows you to have Executed OK, Failed, Warning options... Later you can have a sequencer stage on ANY mode.

Posted: Thu Dec 11, 2008 3:59 pm
by UPS
chulett and kandyshandy,
Thanks for the quick responses! The requirement is to have the job proceed to the next job, weather it's an abort or a success.
Disabling the "Automatically handle activities that fail" option worked! Thank you!

Posted: Thu Dec 11, 2008 4:05 pm
by chulett
If you need that "automatically handle" functionality for other parts of the Sequence, let us know. There are ways to work around the issue you are having with it and that one particular job.