Defining Timeout for a State
Define the resulting state of a timeout and the actual timeout period using regular or complex expressions.
Procedure
- In the TIBCO BusinessEvents Studio Explorer, double-click the state model you want to work with and in the diagram, click the state whose timeout you want to configure.
- Select the Timeout tab and select the units to use: Milliseconds, Seconds, Minutes, Hours, Days, Weekdays, Weeks, Months. (This means you do not have to define units in the timeout expression.)
-
Select a Timeout State Choice value, to determine what state the machine goes to in the event of a timeout:
- Current: Stays in the same state. The timeout action executes. Entry and exit actions are ignored. However, the timeout period resets and it is possible for the state keep timing out.
- All: for states with multiple next states only, you can select this option to have TIBCO BusinessEvents prepare to go to any of the possible next states. For more details on this option, see State Model Timeouts and State Timeouts.
- Specified: In the Timeout State field, select the state to go to in the event of a timeout.
- In the Timeout Expression tab, enter an expression that evaluates to a number (that is, a number of the time units you chose in the General tab).
- In the Timeout Action tab, use the TIBCO BusinessEvents rule language to add any actions that will be performed when the state times out.
Related tasks
Copyright © Cloud Software Group, Inc. All rights reserved.