Help

Compensatable Sequence Activity

The Compensatable Sequence Activity is a container for a group of Activities with compensation. This means it contains an additional Compensate sequence which can be triggered later in the workflow if needed. An example Compensatable sequence would be a payment transaction for a product. If later it is realized that the product is not available, the Compensate sequence would be triggered, reversing the transaction and maybe also notifying the relevant parties. A similar example is shown in Workflow Basics – Fig.5. As a Compensatable Sequence is often required for transactions, a Compensatable Transaction Scope Activity is also available. To invoke a Compensate sequence, a Compensate Activity is used with its TargetActivityName property set to the Compensatable sequence’s name.