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.

Parent topic: Developing combined fragments

Related concepts
Combined fragments
Interaction operands
Guard conditions

Related tasks
Creating combined fragments
Adding lifelines to combined fragments
Removing covered lifelines from combined fragments
Adding interaction operands to combined fragments
Removing interaction operands from combined fragments
Moving interaction operands within combined fragments
Resizing interaction fragments

Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.