Adding exception handlers to your flow
When you define a job, job array, flow or subflow, you can specify what exceptions you want IBM Spectrum LSF Process Manager to watch for, and how you want to handle the exceptions if they happen.
About this task
You can specify as many exceptions and handlers as you want for any job, job array, flow or subflow. You can handle an exception automatically using the following:
Procedure
Handling exceptions of a job or job array using built-in handlers
Procedure
Handling exceptions of a subflow using built-in handlers
Procedure
Handling exceptions with a recovery job
Procedure
- Within the flow definition in the Flow Editor, draw both the predecessor and recovery jobs (or job arrays or subflows).
- Select the arrow to connect the jobs.
- Right-click on the dependency line to the recovery job and select Open Definition. The Event Definition dialog box appears.
- In the Event Type field, select the appropriate exception.
- Click OK.