Developer Guide to the BPEL Designer

Using the Compensate Element

The Compensate activity can only be used within Catch, CatchAll, Compensation Handler or Termination Handler elements.

The Compensate activity causes compensation of all scopes immediately enclosed into the scope containing the fault handler, compensation handler or termination handler with the Compensate activity.

Usage

From the Palette, drag the Compensate activity and place it inside the Catch, CatchAll, Compensation Handler or Termination Handler element on the diagram. The Compensate activity requires no property configuration, its behavior is pre-defined.