Connection states using transition

About this task

A transition is when a flow navigates from one state to the next state.

A transition can take place only if departure events are defined to enable a state to move to another state. Every state in a transaction flow must have a departure event for the flow to complete successfully.

For detailed information on transitions, see Transitions.

Procedure

To define a transition, do the following steps:

  1. In the Project Explorer pane, double-click the Transaction file that you want to edit.
  2. In the Transaction editor, click the Flow tab.
  3. In the Palette pane, click Transition.
  4. In the Flow tab, click and drag from one state to the next state in the flow.
  5. Add an event to the transition:
    Note: If only one event is specified for a state, the event that enables a transition to take place is specified automatically; however, if more than one event has been specified for a state, you must select the event that is required for the state to transition to the next state.
    1. Click the transition icon of the transition in the Flow tab.
    2. In the Properties tab of the transition, click the Browse icon of the Name field. The Select Events window displays.
    3. In the Select Events window, select the event that you want to add to the transition, and then click OK.