---
schema_version: "1"
id: be721e7979e9686e323590218d2b4bce529c9f2cff995988bc949a23ead90bf2
title: Create a Promotion Expression
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/cg_task_admin_create_promotion_expressions.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.cg_task_admin_create_promotion_expressions.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6c5b6cc7b1f7c1e6d029acd81d6ab05225de31a9cd0d8136fee4012baa57cbba
description: Promotion expressions and hurdles are used in combination to define parameters and evaluation criteria to be considered for a selectable promotion.
products:
  - Consumer Goods
release: "264"
---
# Create a Promotion Expression

Promotion expressions and hurdles are used in combination to define parameters and evaluation criteria to be considered for a selectable promotion.

### 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 in <strong>Professional</strong>, <strong>Enterprise</strong>, and <strong>Unlimited</strong> Editions that have Consumer Goods Cloud 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="d41725e63">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d41725e63 ">To create promotion expression:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d41725e63 ">
              <p>CGCloud Business Admin</p>
              <p style="margin-bottom:0;">OR</p>
              <p style="margin-bottom:0;">CGCloud Retail Business Admin</p>
            </td>

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

For example, create a hurdle to evaluate a promotion: Place a Cola poster.

The hurdle must contain:

- Comparator: =
- Threshold Value: True
- Reference to expression

The referenced expression must contain:

- Reference to product: Cola
- Reference to job definition template: Poster has been placed?
- Expression function to return the survey result for the referenced product

1. From App Launcher, find and select **Promotion Expressions**, and then click **New**.
2. Provide these details:
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col style="width:50%">
              <col style="width:50%">
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d41725e142">Field</th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d41725e145">Description</th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d41725e142 d41725e145 ">Identification</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d41725e142 ">Promotion Expression Name</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41725e145 ">Name of the promotion expression.</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d41725e142 ">Product</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41725e145 ">Product that must be verified during a survey.</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d41725e142 ">Expression Result Type</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41725e145 ">
                  <p>Type of expression result. The options are:</p>
                  <ul>
                    <li>Text</li>
                    <li>Numeric</li>
                    <li>Boolean</li>
                    <li>Date</li>
                  </ul>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d41725e142 ">Job Definition Template</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41725e145 ">Question to be answered or verified. </td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d41725e142 ">Expression Function</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41725e145 ">Function that helps to determine the value of an expression.</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d41725e142 ">Sales Org</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41725e145 ">Sales org of a promotion expression.</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d41725e142 ">Field (API Name)</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41725e145 ">
                  <p>Name of a field that the expression function must evaluate.</p>
                  <div class="slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium">
                    <div class="slds-media slds-media_responsive">
                      <div class="slds-media__figure"><span class="slds-icon_container slds-icon_container_circle slds-icon-note-note"><img style="margin-bottom:0;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-consumer_goods_retail_admin-264-0-0-production-enus/5bb7d7f5-119d-42d0-8596-95e762837019/images/icon_note.png" alt="Note"></span></div>
                      <div class="slds-media__body" style="padding-top:.5rem;padding-bottom:.5rem;"><span class="slds-text-title_caps">Note</span> This field is
                        required only if an expression function must evaluate a field of an
                        object.</div>
                    </div>
                  </div>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d41725e142 ">Allows Classification</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d41725e145 ">Indicates if the hurdle associated with a selected promotion expression is available
                  for classification.</td>

              </tr>
            </tbody>
          </table>
3. Save your changes.