---
schema_version: "1"
id: 0aae1d33ef6a37f43f910c98c5192856d26c75da9ff319075275c6e77135cf6b
title: Dynamic Customer Group Operators in B2C Commerce
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_dynamic_customer_group_operators.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_dynamic_customer_group_operators.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 05ed5a56ef7b438d16a683d9655fbb1fca3aff11970f6ff54d4a10022a72bfa8
description: These are the supported operators.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Dynamic Customer Group Operators in B2C Commerce

These are the supported operators.

    
| Attribute | Operator | Param1 | Param2 | Description |
| --- | --- | --- | --- | --- |
| String | is equal | phrase (multiple) |   | Attribute value is an exact match of any of the phrases. |
|   | isn't equal | phrase (multiple) |   | Attribute value doesn't exactly match any of the phrases. |
|   | starts with | phrase (multiple) |   | Attribute value starts with one of the specified phrases. |
|   | ends with | phrase (multiple) |   | Attribute value ends with one of the specified phrases. |
|   | contains | phrase (multiple) |   | Attribute value contains any of the specified phrases. |
|   | doesn't contain | phrase (multiple) |   | Attribute value doesn't contain any of the specified phrases. |
|   | exists |   |   | Attribute value exists. |
|   | doesn't exist |   |   | Attribute value doesn't exist. |
| Integer | is equal | integer (multiple) |   | Attribute value equals one of the specified integers. |
|   | isn't equal | integer (multiple) |   | Attribute value doesn't equal any of the specified integers. |
|   | is greater than | integer (single) |   | Attribute value is greater than specified integer. |
|   | is less than | integer (single) |   | Attribute value is less than specified integer. |
|   | is greater than or equal | integer (single) |   | Attribute value is greater than or equals specified integer. |
|   | is less than or equal | integer (single) |   | Attribute value is less than or equals specified integer. |
|   | is in range | integer1 (single) | integer2 (single) | Attribute value is between integer1 and integer2. |
|   | exists |   |   | Attribute value exists. |
|   | doesn't exist |   |   | Attribute value doesn't exist. |
| Number | is equal | number (multiple) |   | Attribute value equals one of the specified number. |
|   | isn't equal | number (multiple) |   | Attribute value doesn't equal any of the specified number. |
|   | is greater than | number (single) |   | Attribute value is greater than specified number. |
|   | is less than | number (single) |   | Attribute value is less than specified number. |
|   | is greater than or equal | number (single) |   | Attribute value is greater than or equals specified number. |
|   | is less than or equal | number (single) |   | Attribute value is less than or equals specified number. |
|   | is in range | number1 (single) | number2 (single) | Attribute value is between number1 and number2. |
|   | exists |   |   | Attribute value exists. |
|   | doesn't exist |   |   | Attribute value doesn't exist. |
| Date | is on | date (single) |   | Date attribute is exact match of specified date. |
|   | is after | date (single) |   | Date attribute is after the specified date (excluding spec date). |
|   | is before | date (single) |   | Date attribute is before the specified date (excluding spec date). |
|   | is in the range | date1 (single) | date2 (single) | Date is between date1 and date2 (including date1 and date2). |
|   | isn't in the range | date1 (single) | date2 (single) | Date isn't between date1 and date2 (including date1 and date2). |
|   | is today |   |   | Date is today. |
|   | is yesterday |   |   | Date is yesterday. |
|   | is tomorrow |   |   | Date is tomorrow. |
|   | is in the last x days | x (single) |   | Date is on one of the last x days (excluding today). |
|   | isn't in the last x days | x (single) |   | Date isn't on one of the last x days (excluding today). |
|   | is in the next x days | x (single) |   | Date is on one of the next x days (excluding today). |
|   | isn't in the next x days | x (single) |   | Date isn't on one of the next x days (excluding today). |
|   | is in the last | week|month|year |   | Date is in the last week (Mon-Sun), month (01-31), or year (01/01 - 12/31). |
|   | is in the current | week|month|year |   | Date is in the current week (Mon-Sun), month (01-31), or year (01/01 - 12/31). |
|   | is in the next | week|month|year |   | Date is in the next week (Mon-Sun), month (01-31), or year (01/01 - 12/31). |
|   | exists |   |   | Attribute value exists. |
|   | doesn't exist |   |   | Attribute value doesn't exist. |
| Boolean | is true |   |   |   |
|   | is false |   |   |   |
|   | exists |   |   | Attribute value exists. |
|   | doesn't exist |   |   | Attribute value doesn't exist. |

## Related Links

[Dynamic Customer Group Rules](https://help.salesforce.com/s/articleView?id=cc.b2c_dynamic_customer_group_rules.htm&release=264.0.0&type=5 "A dynamic customer group has exactly one rule with one or more conditions. A condition is an individual line in the editor, for example, Company equals ‘Salesforce’.")

[Creating a Dynamic Customer Group](https://help.salesforce.com/s/articleView?id=cc.b2c_creating_a_dynamic_customer_group.htm&release=264.0.0&type=5 "A dynamic customer group is a group with changing membership. Membership is based on purchase history, profile, address, or active data. You can also base membership on membership in system and static customer groups. You can't base membership on dynamic customer groups.")

#### See Also

- [Create a Dynamic Customer Group in B2C Commerce (Video)](https://salesforce.vidyard.com/watch/zwGd7j2pQzjTbdpkjTRDwW)