Compensate activity is executed only from the compensation handlers when a fault is encountered outside a scope (this scope will have compensation handler defined). This activity triggers compensation handler for a scope present only on the same level. All activities present in scope get executed successfully.


The compensation handlers are defined per scope. The compensation handlers of scopes that are directly enclosed by the scope and contain Compensate activity, can be executed. The handlers execute in reverse order, so the handler of the last completed scope is executed first. The compensation handlers can only be defined on scope level.

The General tab has the following fields.

Field Description
Name The name to be displayed as the label for the activity in the process.


Provide a short description for the activity.