Page 1 of 1

handle exceptions and continue

Posted: Fri Jul 14, 2006 12:56 pm
by Krazykoolrohit
Hi,

I want to write a sequencer which ivokes a exception handler when a job fails and continues to run the next job.

setting trigger to uncoditional in job1 is of no help as once the control moves to exceptional handler it doesnot goto job 2

Posted: Fri Jul 14, 2006 1:46 pm
by sri1dhar
I don't think its possible with the global exception handler. You will have to explicitly handle the errors and continue to the next job. i.e. on the job activity trigger expression type = Unconditional, you will need to handle the exception using a routine or execute command activity and then continue to the next job or activity from there.

You need repeat this after every job activity.

Posted: Sat Jul 15, 2006 4:51 am
by ray.wurlod
You might want to, but it can't be done, as was observed. In your case, you can have a second trigger from each job activity to handle reporting of the problem (use a custom trigger, Activity.$JobStatus <> DSJS.RUNOK).

Posted: Sat Jul 15, 2006 7:00 am
by chulett
Exactly the same answers as you already got in your other post. :roll: