Overview
The Rules engine now supports nested condition groups, allowing you to build structured, multi-level logical expressions directly in the rule designer. This enhancement enables the creation of advanced rule logic without relying on workaround configurations or multiple intermediary rules.
Learn how to create rules using grouped and nested conditions for more structured logic.
Key Capabilities
1. Create Condition Groups
You can now create separate groups of conditions inside a rule.
Each group can contain multiple conditions and can be combined with AND/OR logic.
2. Multi-Level Logic
Condition groups can be nested, enabling complex evaluations such as:
– (A AND B) OR (C AND (D OR E))
– (Group 1) AND (Group 2 containing sub-group)
This allows flexible modelling of real-world automation logic.
3. Intuitive Designer UI
The rule builder now includes user-friendly options to:
– Add condition groups
– Edit existing groups
– Reorder conditions and groups
– Apply AND/OR logic between groups
– Expand and collapse nested levels
Intended Benefits
– Build more expressive, accurate automation rules.
– Reduce the number of separate rules required for complex scenarios.
– Lower maintenance overhead by keeping logic consolidated in a single rule.
– Improve readability and administration of rule configurations.
How to Use Nested Conditions
Navigation
Go to: Workflow Setup → Automation → Rules → Add Rule / Edit Rule
Steps to Add a Grouped Condition
1. Open Rule Designer
Choose to create a new rule or edit an existing one.
2. Add a Condition Group
Click “Add Group” to create a new condition group.
3. Add Conditions Inside the Group
Use “Add Condition” to specify field, operator, and value.
4. Set Logic Between Groups
Choose AND or OR to define how groups interact.
5. Add Nested Groups (Optional)
Click “Add Grouped Condition” within an existing group to create deeper logic.
6. Save the Rule
Once all groups and conditions are configured, click Save.
Example Use Cases
Scenario 1: Multi-Field Approval Logic
Trigger a rule when:
– (Amount > 50,000 AND Department = Finance)
OR
– (Urgent = Yes AND Requested By = CEO)
Scenario 2: Compliance Check
Execute an action only when:
– Category = “Procurement”
AND
– (Vendor Rating < 3 OR Vendor Blacklisted = Yes)
