Outlining a State Model

Build a outline for the state model by adding the nodes you need and connecting them with transitions. Then you can fill in the details by configuring each node and transition.

Procedure

  1. In TIBCO BusinessEvents Studio Explorer, double-click the state model name to open it.
    For instructions on adding a state model, see Adding State Models.

Add Nodes

  1. In the state modeler palette, select a type of state you want to add. Click in the canvas one or more times as needed to drop instances of the state onto the canvas or onto other states.
    Note: The selected type of state in the palette remains only if the preference for reset tool is unchecked.

    You can drop simple states, composite states, concurrent states and Call State Model nodes as follows:

    • Onto the canvas
    • Into a composite state
    • Into a region of a concurrent state

      You can drop regions only into concurrent states. (If you drop a region outside of a concurrent state, a blank virtual node appears. Delete this node.)

Connect Nodes with Transitions

  1. In the state modeler palette, select the transition icon and connect the states and state boundaries as needed to define the desired flow.
    • To add a transition from a state or boundary to a state or boundary, click the "from" state or boundary first, then the "to" state or boundary.
    • To add a self-transition, click the state or boundary, then click in an empty canvas area, then click the state or boundary again.

      See Guidelines for Adding Transitions for details about what you can and cannot connect.

  2. As needed, cut, copy and delete states and transitions to complete the outline. In order to Cut, Copy, or Delete a node or transition perform the following steps:
    1. Right-click the node or transition and choose Cut, Copy, or Delete from the options menu.
    2. Right click again and select Paste to paste a node or transition you cut or copied.
    Note: Restrictions

    A concurrent state must contain a minimum of two regions. You cannot cut or delete a region from a concurrent state with only two regions.

    You cannot cut, copy, or delete a start state.

    You cannot copy a state from one state model to a different state model.

Configure the Details

  1. When you are finished adding nodes and connecting them with transitions, click the Select arrow icon in the toolbar (or right-click in an empty part of the canvas). Select each node and transition in turn and configure them. See the following for details:

Refine the Layout

  1. Use the diagram options as desired to lay out the state model diagram as desired for viewing and sharing. See State Model Preferences.