Adding guard conditions to interaction operands

In Unified Modeling Language (UML) sequence diagrams, a guard condition, or an interaction constraint, is a semantic condition or restriction in an interaction operand within a combined fragment. You can add guard conditions to interaction operands.

You must have a sequence diagram that contains at least one combined fragment with multiple lifelines open in the diagram editor.
To add a guard condition to an interaction operand:
  1. In the diagram editor, right-click an interaction operand that has no existing guard condition; then click Interaction Operand > Add a guard condition.
  2. Click the field, type the guard condition, and press Enter.
Related concepts
Guard conditions
Interaction operands
Related tasks
Creating combined fragments
Adding and removing covered lifelines to and from combined fragments
Adding interaction operands to combined fragments
Removing interaction operands from combined fragments
Moving interaction operands within combined fragments
Resizing interaction fragments
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.