Creating a submachine state
You can create a Submachine State on a State Diagram or through a Modeler browser. Define a Submachine State's incoming and outgoing Transitions on a State Diagram.
When you create a Submachine that references a State Machine, Modeler creates a Connection Point Reference for each Entry State and Exit State the referenced State Machine owns. The Connection Point References are created as children of the Submachine.
To create a submachine state on a state diagram:
1. On the State Diagram tab, click the Submachine State button.
2. On the State Diagram, click in free space or within a Sequential State.
3. From the Select Object dialog, select or create a State Machine to use for the Submachine State.
4. Type the name of the Submachine State, and then press the Enter key.
Alternatively:
1. Drag the State Machine that is going to be used by the Submachine from a Modeler pane to the State Diagram.
2. Set the name of the Submachine as required.
To create a submachine state in a Modeler browser:
1. Right-click the State Machine or Sequential State that is to own the Submachine State, and select New > Submachine State.
2. From the Select Object dialog, select or create a State Machine to use for the Submachine State.
3. Type the name of the Submachine State, and then press the Enter key.