Designer > Compensation > 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. 1. From the Process Editor canvas, select a scope.
  2. 2. Drag a Compensation catch event into the scope or near the border of a collapsed scope, as the illustration shows.
  3. 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. 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.