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.
GeneralThe 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.