Table of Contents

Search

  1. Preface
  2. Part 1: Using Process Developer
  3. Part 2: Creating and Modifying Processes
  4. Part 3: Functions, Events, Errors, and Correlation
  5. Part 4: Testing and Deployment
  6. Part 5: Process Central and Process Server (On-Premises)

Process Developer

Process Developer

Adding a Compensation Handler to a Scope

Adding a Compensation Handler to a Scope

A scope's activities can be compensated, or reversed when the scope is completed and when another activity causes compensation to begin.
To add a compensation handler to a scope:
  1. From the Process Editor canvas, select a scope.
  2. Drag a Compensation catch event into the scope or near the border of a collapsed scope, as the illustration shows.
  3. Drag activities into the compensation handler that will reverse the work of the scope's main activity. For a boundary event, you must link the handler to an activity to execute. The activity must be a downstream activity that has not yet executed.
  4. From another scope, create an activity that triggers the compensation handler for the completed scope.
The following illustration shows a parent scope, children scopes, and their compensation handlers.

0 COMMENTS

We’d like to hear from you!