Invoking a Compensation Routine

After you build a compensation routine, it must be invoked.

  1. Click the Business Process canvas to activate the Tool Palette.
    Note: 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.
  2. Click the Exception Processing tool palette.
  3. Select the Throw Exception activity and drag and drop it onto the canvas.
  4. Connect the Throw Exception activity to the output node of the complex activity that contains the compensation handler.
  5. From the Exception Processing tool palette, select the Handle Exception activity and drag and drop it onto the canvas.
  6. Click Maximize in the title bar of the Handle Fault activity.
  7. From the Exception Processing tool palette, select Compensate and drag and drop it into the Fault Handler.
  8. Connect Start to Compensate.

    The compensation handler is complete.

Related concepts
Compensate Activities

For product-related issues, contact Sybase Technical Support at 1-800-8SYBASE. Send your feedback on this help topic directly to Sybase Technical Publications: pubs@sybase.com