---
schema_version: "1"
id: 91a83f291f5dfa832a91133b10061d7b41a506a25d3af1c12bbd03320474c14f
title: Create An Expression Set
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/build_your_expression_set.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.build_your_expression_set.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 047e014c020e41d47e2fa5c8d34653e0e906e30ab18b491be38bde8bf3037b90
description: Creating an expression set is a multistep process. When you create an expression set, the set's first version is created by default. Then, you configure the version and create variables and constants for inputs, outputs, and values that are used by and passed between the steps. Next, you add a logical sequence of steps that perform calculations or evaluate conditions using variables, constants, and decision matrices. After you create the flow, you simulate your expression set version with test values to verify that the set is working as expected, and then activate the expression set. To update an expression set version, save it as a version in a new expression set or as a new version within the existing expression set.
products:
  - Industry Solutions
  - Cross Cloud
release: "264"
---
# Create An Expression Set

Creating an expression set is a multistep process. When you create an expression set, the set's first version is created by default. Then, you configure the version and create variables and constants for inputs, outputs, and values that are used by and passed between the steps. Next, you add a logical sequence of steps that perform calculations or evaluate conditions using variables, constants, and decision matrices. After you create the flow, you simulate your expression set version with test values to verify that the set is working as expected, and then activate the expression set. To update an expression set version, save it as a version in a new expression set or as a new version within the existing expression set.

### 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>

- **[Create and Configure Your Expression Set Version](https://help.salesforce.com/s/articleView?id=ind.create_and_configure_the_expression_set_version.htm&release=264.0.0&type=5)**  
    When you create an expression set, the first version is created automatically and suffixed with V1. An expression set version is a blank and usable version of your expression set. Configure variables and constants in your expression set and then create steps that call decision matrices or decision tables and perform calculations or evaluate conditions.
- **[Simulate and Activate Your Expression Set Version](https://help.salesforce.com/s/articleView?id=ind.simulate_and_activate_the_expression_set.htm&release=264.0.0&type=5)**  
    Before you activate your expression set, run simulations with default and custom test input variables. Different decision matrices or subexpression versions called in an expression set version can have different start date time and end date time values. Test different versions by changing the Effective Date value. If the expression set doesn't work as expected, edit the elements and resimulate. When you're satisfied, activate the expression set version. If the expression set version is related to a context definition, you can simulate it by using the context mappings available in the context definition.
- **[Build Your Expression Set From a Template](https://help.salesforce.com/s/articleView?id=ind.build_your_expression_set_using_templates.htm&release=264.0.0&type=5)**  
    To reuse or modify an expression set template’s components, save the template as an expression set or a version of an expression set. The template’s type determines whether you can save it as a new expression set or a version of an existing expression set.