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

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
 
 
Suppress Join Failure. See Process Properties
 
 
 
 
 
Extension Attributes and Extension Elements. See Declaring Extension Elements and Attributes.
To build a compensate scope activity:
  1. On the Process Editor canvas, select a scope that has a compensation, fault, or termination handler.
    For a fault handler, ensure that the fault handler contains a catch or catch all container.
  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"/>

0 COMMENTS

We’d like to hear from you!