Skip Ribbon Commands
Skip to main content
SharePoint

Overriding the Default Process Error Handling for Activities

When you run a process, an activity may encounter an error due to missing or inappropriate data or a third party system being offline. An activity’s error handling options allow you to override the process’ default error handling options and uniquely define how the activity should handle the error.

The available error handling options are displayed in the following table:  
Option
Description
  Mark Activity as Failed 
  The activity status is marked as Failed if an error occurs.
  Mark Process as Failed
  The process status is marked as Failed if an error occurs.
  Stop current Process
  The process will not continue if this option is checked. A process
  otherwise continues by default.
  Invoke another Process  
  A new process will start. When check this option, you will have
  to choose a process from the Process field and select an
  appropriate initiator from the Initiator field.
 
  Data Item Mapping

  Data Item Mapping allows you to set the value of a data item in the 
  error handling process being invoked. Select the data items you
  want to map from the Destination Data Item field and map it to
  data available in the Value to Assign field.
To set the Unique Error Handling used by activities in a process, complete the following steps:
  1. Check out and open the process.

  2. Click the activity for which you want to override the default process error handling. The activity is highlighted.

  3. In the Design ribbon, click View Selection Properties. The activity properties window is displayed.

    Note:
    You can also view the activity properties window by right-clicking the activity and selecting View Properties.


  4. Click the Error Handling tab. The error handling options are displayed.

  5. In the Action taken on error section, click Use Unique Error Handling. The unique error handling options are available.

  6. Select the appropriate options based on the information in the error handling options table in the introduction to this topic.

  7. Click OK. You set the activity to use unique error handling options instead of using the process’ default error handling options
Related Topics
Changing the Activity’s Name and Description
Changing an Activity’s Icon in a Process

Source
BPM Designer Topics > Overview of Activities and Activity Topics > Common Tasks for Activities
Last modified at 7/31/2020 11:49 AM