<compensate>
Invoke a <compensationhandler> from <catch> or <catchall>.
Syntax
<scope>
<throw fault='"BuyersRegret"'/>
<faulthandlers>
<catch fault='"BuyersRegret"'>
<compensate target="RestoreBalance"/>
</catch>
</faulthandlers>
<compensationhandlers>
<compensationhandler name="RestoreBalance">
<assign property='context.MyBalance' value='context.MyBalance+1'/>
</compensationhandler>
</compensationhandlers>
</scope>
Attributes and Elements
target attribute
Required. The name of a <compensationhandler> that provides a sequence of activities to undo previous actions.
Specify a string of up to 255 characters.