The Compensate element is used to start compensation on all inner scopes that have successfully completed. The Compensate activity can only be used within Catch, CatchAll, Compensation Handler or Termination Handler elements.
Before adding Compensate element to the process, be certain to add one of the following to either the Process or Scope element:
A Fault Handler and Catch or Catch All
A Compensation Handler
A Termination Handler
The Compensate activity causes compensation of all scopes immediately enclosed in the scope containing the fault handler, compensation handler, or termination handler with the Compensate activity.
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 predefined.