The Compensate activity can only be used within Catch, CatchAll, Compensation Handler or Termination Handler elements.
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.
From the Palette, drag the Compensate Scope activity and place it inside the Catch, CatchAll, Compensation Handler or Termination Handler element on the diagram.
Right-click the Compensate Scope element and choose Properties.
In the Properties dialog box, configure the following:
Name. Enter an arbitrary name.
Target. From the drop-down list, select a scope or an invoke activity to be compensated.
Documentation. Optionally, write a comment on the activity.