Adding a Timeout to a Business Process

Add a timeout to regulate a specified set of activities in a business process when a defined timing event occurs.

  1. Click on the Business Process canvas to activate the Tool Palette.
    Note: If the Tool Palette does not appear in the perspective, open the Tool Palette.
  2. Select the Exception Processing tool palette, select Timeout, and drag and drop it onto the canvas.
  3. With Timeout selected, expand Properties in the Business Process Logic Page.
  4. Select either the Absolute or Relative Timer type.
  5. Select either the Context or Literal Timer details.
  6. To set the time values for the timer, choose from the following:
    If you selected: You are prompted to:
    An absolute timer with a literal value Provide a year, month, day, hour, minute and second for the timer event.

    No time zone adjustment is necessary; all times are Greenwich time (GMT).

    An absolute timer with a context value Point to the context value.

    Context values must follow the format: YYYY-MM-DDTHH:MM:SS, for example: 2005-07-05T06:00:00. All times are GMT unless a specific time zone adjustment is specified, for example, 2005-07-05T06:00:00+06:00.

    A relative timer with a literal value Provide the years, months, days, hours, minutes, and seconds to wait until the timeout handler executes.
    A relative timer with a context value Point to the context value.

    Context values must follow the format: PnYnMnDTnHnMnS, for example: P1Y1M1DT1H1M1, which is 1 year, 1 month, 1 day, 1 hour, 1 minute, and 1 second. To specify 30 seconds, use PT30S.

  7. To enlarge the timeout handler canvas, click the Maximize icon in its title bar.

    The canvas for the complex activity is then as large as your original business process service canvas.

  8. Drag and drop activities from the Tool Palette to define how you want the timeout handler to work.

    Request and response activities are not allowed in a timeout handler.

  9. Connect the flow of execution.

    The timeout handler is complete.

Related concepts
Timeouts
Related tasks
Setting a Timeout
Opening the Tool Palette

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.