Adding a guard condition

  1. Select the new transition.
  2. Right-click and select Add UML > Guard Condition.
  3. Select the General tab in the properties view.
  4. Click Add in the group box in the Guard section.
  5. Enter the guard expression in the body text field in the Guard section.
    enterGuardExpression