Business Process and Data Transformation Language Reference
<compensate>
|
|
<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>
Attribute or Element | Description | Value |
---|---|---|
target attribute | Required. The name of a <compensationhandler> that provides a sequence of activities to undo previous actions. | A string of 0 to 255 characters. |
<annotation> element | See “Common Attributes and Elements.” |