Add a timeout to regulate a specified set of activities in a business process when a defined timing event occurs.
To add a timeout to a business process:
Click on the Business Process canvas to activate the Tool Palette.
If the Tool Palette does not appear in the perspective, open the Tool Palette.
From the Exception Processing tool palette, drag Timeout and drop it onto the canvas.
With Timeout selected, either expand Properties in the Business Process Logic Page or open the Properties Panel view.
Select either the Absolute or Relative Timer type.
Select either the Context or Literal Timer details.
Set the time values for the timer.
If an absolute timer with a literal value is selected, you are prompted to 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).
If an absolute timer with a context value is selected, you are prompted to 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.
If a relative timer with a literal value is selected, you are prompted to provide the years, months, days, hours, minutes, and seconds to wait until the timeout handler executes.
If a relative timer with a context value is selected, you are prompted to 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.
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
Drag and drop the activities from the Tool Palette that define how you want the timeout handler to work.
The request and response activities are not allowed in a timeout handler.
Connect the flow of execution.
The timeout handler is complete.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com