Designer > Implementing a BPMN Task or Event in BPEL > Compensate Scope
  

Compensate Scope

BPMN Implementation: Compensate throw event
The compensate scope activity names an enclosed scope for compensation and triggers the start of the scope's compensation handler. See Compensation for a discussion of compensation handlers.
The compensate scope activity is one of two compensation activities. The compensate activity does not name an enclosed scope, but rather executes the compensation handler on all eligible enclosed scopes in the reverse order of their completion.
Required Properties
Optional Properties
Target
Name. Se
 
Join Condition.
 
Suppress Join Failure.
 
Comment.
 
Documentation.
 
Setting Visual Properties and Using Your Own Library of Images
 
Execution State
 
Extension Attributes and Extension Elements.
To build a compensate scope activity:
  1. 1. On the Process Editor canvas, select a scope that has a compensation, fault, or termination handler.
  2. For a fault handler, ensure that the fault handler contains a catch or catch all container.
  3. 2. Drag a Compensate throw event to a catch, catch all, compensation handler, or termination handler, as shown in the following example.
In the Properties view, select the arrow in the Target row, and select a scope name from the list. The scope must be an inner scope in relation to the compensate scope activity.
If no scope names are available, you can not add a compensate scope activity to the current scope.
XML Syntax
<compensateScope target="NCName" standard-attributes>
standard-elements
</compensateScope>
Example
<compensateScope target="assessorScope"/>