In state machine diagrams, you can add a static conditional
branch to diverge control to several states in parallel order, or
you can add a dynamic conditional branch to diverge control to several
states in serial order.
About this task
You must have a state machine diagram open
in the UML Development perspective.
To create
a conditional branch:
Procedure
- In the Palette, under Capsule
State Machine, complete one of the following steps:
- To create a static conditional branch, click Junction Point.
- To create a dynamic conditional branch, click Choice Point.
- Click anywhere in the diagram editor, and type a name for
the point.
- Add one or more incoming transitions to the point.
- Add two or more outgoing transitions from the point.
- Add guards to the outgoing transitions, and ensure that
at least one is a default else guard.