For automation interface information about a Junction State, see
State (automation interface). For automation interface purposes, a Junction State is a State that has its UML State Type set to Junction.
A Junction State is used to chain together multiple transitions. Use a Junction State to construct complex transition paths between states. For example, to converge multiple incoming transitions into a single outgoing transition, and to split an incoming transition into multiple outgoing transitions with different guard conditions.
Create a Junction State through a Modeler explorer pane or a State Diagram:
• In a Modeler pane, right-click a State Machine or Sequential State, point to New, point to Pseudo State, and then click Junction State.
• On a State Diagram, click the Junction State toolbar button, and then click the diagram background (within the frame) or within a Sequential State.
When used on a State Diagram, a Junction State's notation is as follows.
On a State Diagram, you can populate Junction States: right-click the State Machine (frame) or Sequential State that owns the Junction States, point to Populate, and then click All States. Note that all owned states are added to the diagram.
In the Dictionary pane, Junction States are listed in the UML\States folder.
In the Modeler panes, a short-cut symbol on the Junction State's icon indicates that the item is a
stub.
The following sections provide information about how a Junction State is used in the model.
Dependency —The Dependency is owned jointly by the Junction State and the other associated item. The access permissions you have to a Dependency are determined by the access permissions of the dependent item.
Transition —The Transition is owned jointly by the Junction State and the other associated item. The access permissions you have to a Transition are determined by the access permissions of the source item.