---
schema_version: "1"
id: d567b15ec4da8517cab677cdc144b5ee5470670a80b45e5ef209cf1247ebc637
title: Conditional Group and Condition
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/bre_condition_and_conditional_group_elements.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.bre_condition_and_conditional_group_elements.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c3c2929eb5cece2428f4c74a6ee768763559ab808530fbaa6105a190d95d5fd7
description: "A conditional group step element runs a group of steps if the expression in the condition element in the group evaluates to true. A conditional group can have these step elements: condition, calculation, lookup table, and subexpression. A condition step element is always the first element in the group. A condition step runs the step that follows if the condition expression evaluates to true. A condition step can only be used as part of a conditional group element, and not as a standalone step element."
products:
  - Industry Solutions
  - Cross Cloud
release: "264"
---
# Conditional Group and Condition

A conditional group step element runs a group of steps if the expression in the condition element in the group evaluates to true. A conditional group can have these step elements: condition, calculation, lookup table, and subexpression. A condition step element is always the first element in the group. A condition step runs the step that follows if the condition expression evaluates to true. A condition step can only be used as part of a conditional group element, and not as a standalone step element.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions for clouds that have Business Rules Engine enabled</td></tr></tbody></table>

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-business_rules_engine-264-0-0-production-enus/b2d6dd5c-c231-428b-abbf-3dd2cd51a11f/images/icon_example.png)

Example A rule designer wants to create a conditional rule that calculates the discounted student fees for students aged 60 and above.

The designer has created these expression set resources to be used in the Conditional Group element.

  
| resource name | type | data type |
| --- | --- | --- |
| Student\_Age | Variable | Number |
| Student\_Fees | Constant | Currency |
| Discounted\_Student\_Fees | Variable | Currency |

Here’s how the designer has configured the conditional group:

![Example of a Conditional Group.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-business_rules_engine-264-0-0-production-enus/b2d6dd5c-c231-428b-abbf-3dd2cd51a11f/business_rules_engine/images/example_conditional_group.png)

Here, in the condition element, the values in the Resource, Operator, and Value fields represent this condition: The student’s age is greater than or equal to 60.

The calculation element defines the action that is taken if the condition evaluates to true. The calculation runs only if a student’s age is 60 or above. Student\_Fees is the constant with a value of $2,000. The result of calculating 2,000 minus 30% of 2,000 is stored in the output variable Discounted\_Student\_Fees.

- **[Default and Advanced Modes in the Condition Element](https://help.salesforce.com/s/articleView?id=ind.default_and_advanced_modes_in_the_condition_element.htm&release=264.0.0&type=5)**  
    The condition element in expression sets has two modes: default and advanced. When you add a condition element to an expression set, the condition opens in the default mode. The default mode has a no-code user interface to build your condition expression. You can also switch to the Advanced mode in the condition element to enter your expression manually.