After you build a compensation routine, it must be invoked.
To invoke a compensation routine:
Click on the Business Process canvas to activate the Tool Palette.
If the Tool Palette does not appear either on the Fast View shortcut bar or as an open view in the perspective, open the Tool Palette.
Click the Exception Processing tool palette.
From the Exception Processing tool palette, select the Throw Exception activity and drag and drop it onto the canvas.
Connect the Throw Exception activity to the output node of the complex activity that contains the compensation handler.
From the Exception Processing tool palette, select the Handle Exception activity and drag and drop it onto the canvas.
Click Maximize in the title bar of the Handle Fault activity.
The handle fault canvas expands to the size of the editor.
From the Exception Processing tool palette, select Compensate and drag and drop it into the Fault Handler.
Connect Start to Compensate.
The compensation handler is complete.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com