BPEL Designer and Service Engine User's Guide

Using the CompensateScope Element

The CompensateScope element is used to start compensation on a specific scope that has successfully completed. The CompensateScope activity can only be used within Catch, CatchAll, Compensation Handler or Termination Handler elements.

Before adding the CompositeScope element, add one of the following to the Process or Scope element:

The Compensate Scope activity enables compensation for one specified Scope or Invoke element enclosed into the scope that contains the handler with the Compensate Scope activity by invoking the compensation handler of the Scope or Invoke element.

Usage

  1. From the Palette, drag the CompensateScope activity and place it inside the Catch, CatchAll, Compensation Handler or Termination Handler element on the diagram.

  2. Right-click the CompensateScope element and choose Properties.

CompensateScope Element Properties

The CompensateScope element properties are: