From the Palette, drag the CompensateScope activity and place it inside the Catch, CatchAll, Compensation Handler or Termination Handler element on the diagram.
Right-click the CompensateScope element and choose Properties.
In the Properties dialog box, configure the following:
Name: Enter a name for the element.
Target: From the drop-down list, select a scope or an invoke activity to be compensated.
Documentation: User documentation attached to the element. This documentation is included with the source code of the BPEL process and can be extracted and included in a report.