Multiple Pending Timeouts

A state machine can have multiple pending timeouts. When the state machine exits an enclosing state, it exits all the enclosed states too. So if the result of a composite state timeout is to exit the state, then the state machine cancels all the enclosed timeouts (if any).

The Timeout Action

If a state model or state times out, TIBCO BusinessEvents executes the timeout action, defined using the TIBCO BusinessEvents rule language.

Once the state times out after the timeout expression, its timeout action gets executed, and then the timeout choices get executed. These choices are current, all, or specified, and are defined at design-time.

For the specified choice, you must also define what state to go to next in the event of a timeout. These additional options are explained in State Model Timeouts and State Timeouts.