Compensate Scope
See Also
The Compensate Scope activity can only be used within Catch, CatchAll, Compensation Handler or Termination Handler elements. Before adding Compensate Scope element to the process, be certain to add one of the following to either 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.
To add a Compensate Scope element:
- Open the Design view of the process.
- 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.
- See Also
-
- Adding Compensation Handlers
Legal Notices