Top
Systemwalker Runbook Automation Studio User's Guide
Systemwalker

11.8.1 Using Error Actions on Process Definition Level

Error Actions on process definition level react on any kind of exception, independent of the activity in which an exception occurred, and independent of how severe a problem is. Error Actions on process definition level are typically used to execute general Java Actions, for example sending an email or writing important information into a log file.

This section explains how to define Error Actions for process definitions.

To define Error Actions on process definition level:

  1. Click the empty space in the Process Definition editor to display the Properties view for the process definition.

  2. Select the Exception Handling tab.
    Here you can add new Error Actions to your process definition. If you have not yet defined any Error Action, the dialog displays an empty Error Actions folder.

    Figure 11.37 Displaying the Exception Handling Tab

    Note

    In this tab, you can also create OnSuspend, OnResume and OnAbort actions. These actions are not used to define particular error processing behavior - they are used when the process instance status has been changed by an administrator. Refer to section 11.8.2 Using OnSuspend, OnResume, and OnAbort Actions for more details.

  3. Click Add.

    The Action Type List dialog is displayed.

  4. Proceed with defining a Java Action as an Error Action. Refer to section 11.1 Using Java Actions for details.

  5. Click OK.

    The new Error Action will react to any kind of exception that is thrown during process execution. You can assign the Error Action to a regular Java Action specified for a process definition. Refer to section 11.1.7 Dealing With Errors in Java Actions for more details.