Creating conditional branches in capsule-based state machine diagrams

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

  1. In the Palette, under Capsule State Machine, complete one of the following steps:
    1. To create a static conditional branch, click Junction Point.
    2. To create a dynamic conditional branch, click Choice Point.
  2. Click anywhere in the diagram editor, and type a name for the point.
  3. Add one or more incoming transitions to the point.
  4. Add two or more outgoing transitions from the point.
  5. Add guards to the outgoing transitions, and ensure that at least one is a default else guard.

Feedback