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.
- 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.
- Repeat this process for the other actions. First click the diamond again and then click the second action.
When the control flows have been placed, you will see square brackets above each flow.
- In the toolbar, select the arrow and double click on the square brackets.
The input field is activated.
- Name the condition and save it by pressing Enter.
- Repeat this process for the other 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.





