Chapter 17 Working with WS-BPEL 2.0
The compensateScope activity is used to start compensation on a specified inner scope that has already completed successfully. This activity must only be used from within a fault handler, another compensation handler, or a termination handler.
<compensateScope target="NCName" standard-attributes> standard-elements </compensateScope>
The compensate activity is used to start compensation on all inner scopes that have already completed successfully, in default order. This activity MUST only be used from within a fault handler, another compensation handler, or a termination handler.
<compensate standard-attributes> standard-elements </compensate>
You design a compensateScope activity or a Compensate activity using a process that generates a compensation event. To do so, you design a composite process representing a scope and create an output flow, which uses the generated compensation event. This scope is the target of the compensateScope activity. However, if the compensation event is not used by any flow, the process generating the event is mapped to a compensate activity (without target).
Copyright (C) 2007. Sybase Inc. All rights reserved. |
![]() |