---
schema_version: "1"
id: 70ae1a1028ea95aa11db8834511332f7fd00c58a44d2f005743d9ef3555985c6
title: cgcloud__Promotion_Hurdle_Expression__c
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/sforce_api_objects_cgcloud__promotion_hurdle_expression__c.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_objects_cgcloud__promotion_hurdle_expression__c.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 61a7466fdbce262f2e0eb99185466e9b46bd793fb8fb53b9c1c80097f6c1b459
description: New object that stores the information about an expression. This object is available in API version 54.0 and later.
---
# cgcloud\_\_Promotion\_Hurdle\_Expression\_\_c

New object that stores the information about an expression. This object is available in API version 54.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Fields

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: Most recent date on which a user referenced this record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: Most recent date on which a user viewed this record.

### Name

- **Type**: string
- **Properties**: Create, Defaulted on create, Filter, Group, idLookup, Nillable, Sort, Update
- **Description**: Unique identification of the record.

### OwnerId

- **Type**: reference
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: ID of the record owner.
    
    This is a polymorphic relationship field.
- **Relationship Name**: Owner
- **Relationship Type**: Lookup
- **Refers To**: Group, User

### cgcloud\_\_Allows\_Classification\_\_c

- **Type**: boolean
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: Indicates whether the expression function can dynamically consider the classification and the KAM is able to filter products according to the classification at Promotion Hurdle level.
- **Default value**: false

### cgcloud\_\_Expression\_Function\_\_c

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Name of the function that's called to determine the value of the Expression. This function must be defined in the Mobility Modeler as a Javascript function. It receives a predefined list of parameters as input and returns a numeric value.

### cgcloud\_\_Expression\_Result\_Type\_\_c

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Type of result of the expression (Text, Numeric, Boolean).
- **Possible values**:
    - Boolean
    - Date
    - Numeric
    - Text

### cgcloud\_\_Field\_Api\_Name\_\_c

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Optional parameter.

### cgcloud\_\_Job\_Definition\_Template\_\_c

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Optional parameter. The question to be answered or verified.
    
    This is a relationship field.
- **Relationship Name**: cgcloud\_\_Job\_Definition\_Template\_\_r
- **Relationship Type**: Lookup
- **Refers To**: cgcloud\_\_Job\_Definition\_Template\_\_c

### cgcloud\_\_Product\_\_c

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Optional parameter. The product that's to be verified from a survey.
    
    This is a relationship field.
- **Relationship Name**: cgcloud\_\_Product\_\_r
- **Relationship Type**: Lookup
- **Refers To**: Product2

### cgcloud\_\_Sales\_Org\_\_c

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: Describes the sales organization to which the promotion expression belongs.
- **Possible values**:
    - 0000
    - 0001
    - 0002
    - 0003

## Associated Objects

### Associated Objects

This object has these associated objects. If the API version isn’t specified, they are available in the same API versions as this object. Otherwise, they are available in the specified API version and later.

- **[cgcloud\_\_Promotion\_Hurdle\_Expression\_\_cChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.")**: Change events are available for the object.
- **[cgcloud\_\_Promotion\_Hurdle\_Expression\_\_cFeed](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")**: Feed tracking is available for the object.
- **[cgcloud\_\_Promotion\_Hurdle\_Expression\_\_cHistory](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")**: History is available for the tracked fields of the object.
- **[cgcloud\_\_Promotion\_Hurdle\_Expression\_\_cOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_ownersharingrule.htm "StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner.")**: Sharing rules are available for the object.
- **[cgcloud\_\_Promotion\_Hurdle\_Expression\_\_cShare](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")**: Sharing is available for the object.