ActiveVOS Designer User’s Guide

Specified Compensation Example

The following example shows how a Compensate activity is incorporated into a fault handler. For more information, see Fault Handling.

<faultHandlers>
  <catch faultName="lns:loanProcessFault"
    faultVariable="error">
    <sequence name="fault-sequence">
      <compensate scope="assessor-scope"/>
    ...
    </sequence>
  </catch>
</faultHandlers>

See also Default-Order Compensation Example.