---
schema_version: "1"
id: 9a05a806c29c91e7bc046a04559e377b793a1a5120fa4f1549adbcd871bceb0b
title: Create a Local List Variable in an Expression Set Version
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/bre_create_local_list_variables.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.bre_create_local_list_variables.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 437bed0441b6053b994d1657b7fc4c3bf1709a48e23d60def0657d38779816b2
description: Store the definition’s context tag values in the expression set version using local list variables. In an expression set, local list variables are hierarchical resources (you can create parent and child hierarchies with them), while variables and constants are flat resources.
products:
  - Industry Solutions
  - Cross Cloud
release: "264"
---
# Create a Local List Variable in an Expression Set Version

Store the definition’s context tag values in the expression set version using local list variables. In an expression set, local list variables are hierarchical resources (you can create parent and child hierarchies with them), while variables and constants are flat resources.

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

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d35361e71">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d35361e71 ">To create an expression set that uses a context definition:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d35361e71 ">Rule Engine</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d35361e71 ">To use the definition’s tags as local list variables in the expression set’s version
              steps:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d35361e71 ">Rule Engine</td>

          </tr>
        </tbody>
      </table>

1. From the App Launcher (![App explorer icon.](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/app_explorer.png)), find and select **Business Rules Engine**.
2. Click the app navigation menu, and then select **Expression Sets**.
3. Select an expression set.
4. From the Expression Set Versions area, select a version.
    
    The version opens in Expression Set Builder.
5. To create local list variables,
    1. Click ![Resource manager icon](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/resource_manager.png).
    2. Click **Add Resource**.
    3. In **Resource Type**, select **Local List Variable**.
    4. In **Level**, select **Node**.
        
        ![Tip](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-business_rules_engine-264-0-0-production-enus/b2d6dd5c-c231-428b-abbf-3dd2cd51a11f/images/icon_tip.png)
        
        Tip To set the node at the root level, leave the Parent Node field empty.
    5. In **Parent Node**, select the node in the context definition.
    6. Enter the **Resource Name** and **Data Type**.
    7. **Save** your changes.
    8. Continue to create the nodes and attributes you need to use in the expression set version.
        
        The hierarchy of the local list variables appears in the list of tags for the context definition.
        
        ![Local list node variable in the Resources section](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/bre_local_list_node.png)
        
        ![Local list attribute variables in the expression set Resources section](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/bre_local_list_attributes.png)