Conditions
A condition combines one or more rules in a saved configuration. Each rule starts with a value or variable, applies an operator, and includes a comparison value when the selected operator requires one.
Conditions can be used in Contents and in flows through the Decision object. You can edit a condition directly from any content item or flow node that uses it. Select Edit to open the condition editor in a pop-up window.
Users with the Content Editor, Project Admin, or Full Admin role can create, view, edit, and delete conditions.
Configure a condition
- Open an existing condition or select New Condition for a new one.
- Enter a Name for the condition. The name is required.
- Enter a Description if needed.
- Under Rules, select AND or OR to set how the rules at that level are combined.
- Configure the first rule
- Add and organize any additional rules that the condition needs.
- Select Save.
Choose an operator
Select the operator menu beneath the first field, then choose how the rule should compare its values. The condition editor provides these operators:
- equal
- not equal
- less
- less or equal
- greater
- greater or equal
- between
- not between
- begins with
- doesn't begin with
- contains
- doesn't contain
- in array
- ends with
- doesn't end with
- is empty
- is not empty
The fields displayed in a rule depend on the selected operator.
Group rules
Select Add group to create a nested rule group. A group has its own AND and OR control and can contain additional rules or another group.
Use Add rule or Add group inside the group to build its contents. To remove a group, select the group's Delete button.
Manage conditions
The Conditions overview page lists all created conditions. Open the actions menu for a condition to:
- Open: Open the condition in the condition editor.
- Duplicate: Create a copy with the same rules. You must enter a name for the new condition.
- Delete: Delete the condition.
Any change will have an impact on the flow or content that consumes the condition.
Was this article helpful?