Compensatable Transaction Scope Activity
Last changed: MauriceDeBeijer-

A version of the TransactionScopeActivity that use compensation logic instead of TrancactionScope.

To ensure consistency between the WorkflowInstance and the database being updated the TransactionScopeActivity is adorned with the PersistOnCloseAttribute. When the TransactionScopeActivity is used the WorkflowRuntime must be configured with a WorkflowPersistenceService. This could be the build in SqlWorkflowPersistenceService or another custom WorkflowPersistenceService.