Adding Guard Conditions to Activity Edges

See Also

The UML Modeling feature lets you add  to Activity Edges in an Activity diagram.

To add guard conditions to an Activity Edge:

  1. In the Diagram editor, right-click the target Activity Edge and choose Labels > Show Guard Condition.
    An [unnamed] notation appears on the edge to prompt you for the expression.
  2. Inside the notation, type the expression of the guard condition and press Enter.

Activity diagram with guard conditions showing

See Also
Working With Interruptible Activity Group and Object Nodes

Legal Notices