Search

Search:

Namespace:

Search Result
.

The TargetActivityName must point to an activity of type ICompensatableActivity. By default there are two the CompensatableSequenceActivity and the CompensatableTransactionScopeActivity.

.

Once we have activities inside of the Compensation Handler activity, we can trigger compensation with the Compensate activity. The Compensate activity's TargetActivityName property will direct the workflow to the ICompensatableActivity that needs reversed. The runtime will then execute the activities inside the Compensation Handler activity.

.

Once we have activities inside of the Compensation Handler activity, we can trigger compensation with the Compensate activity. The Compensate activity's TargetActivityName property will direct the workflow to the ICompensatableActivity that needs reversed. The runtime will then execute the activities inside the Compensation Handler activity.