+49 (30) 467086-20 service@microtool.de
Products » objectiF RM » Requirements Engineering » Diagrams » The Activity Diagram » Define Conditions (Activity Diagram)

Define Conditions (Activity Diagram)

In an activity diagram, a workflow can be split into alternative workflows. Which workflow is followed depends on a guard. This is displayed in square brackets at the respective branch.

Create Conditions

Before you can determine the conditions of alternative processes, you first need at least two actions and a decision node.

two actions and one decision node
  1. Connect the actions and decision node with control flows. Make sure to first click on the diamond-shaped decision node and then on an action.
decision node linked to the action "Document measured values"
  1. Repeat this process for the other actions. First click the diamond again and then click the second action.
decision node linked to the action Treat wastewater again

When the control flows have been placed, you will see square brackets above each flow.

  1. In the toolbar, select the arrow and double click on the square brackets.
Mouse pointer on guard brackets

The input field is activated.

  1. Name the condition and save it by pressing Enter.
  2. Repeat this process for the other conditions.
decision node with conditions

Delete conditions

You can delete the entered guard name, but not the square brackets. However, the square brackets disappear as soon as only one control flow remains in the diagram.

  • Double-click the guard name to activate editing mode.
  • Delete the name using the Delete key.
delete condition