Newer Version Available

This content describes an older version of this product. View Latest

cgcloud__Segmentation_Rule__c

This object stores the details of the segmentation rule. 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

Field Details
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
Autonumber, Defaulted on create, Filter, idLookup, Sort
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__Description_Language_1__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores the description of language 1.
cgcloud__Description_Language_2__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores the description of language 2.
cgcloud__Description_Language_3__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores the description of language 3.
cgcloud__Description_Language_4__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores the description of language 4.
cgcloud__Description__c
Type
string
Properties
Filter, Nillable, Sort
Description
Description based on the user-specified language.
This is a calculated field.
Formula
1CASE($User.cgcloud__Language_Postfix__c,
2"Language1", cgcloud__Description_Language_1__c,
3"Language2", BLANKVALUE(cgcloud__Description_Language_2__c,cgcloud__Description_Language_1__c),
4"Language3", BLANKVALUE(cgcloud__Description_Language_3__c,cgcloud__Description_Language_1__c),
5"Language4", BLANKVALUE(cgcloud__Description_Language_4__c,cgcloud__Description_Language_1__c),
6cgcloud__Description_Language_1__c)
cgcloud__Hierarchy_Node__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Reference to the field that shows the account lookup to select the hierarchy node and then apply filters on the customer hierarchy.
This is a relationship field.
Relationship Name
cgcloud__Hierarchy_Node__r
Relationship Type
Lookup
Refers To
Account
cgcloud__Input_Variables_JSON__c
Type
textarea
Properties
Create, Nillable, Update
Description
.json files that contains the user input.
cgcloud__Org_Unit_Hierarchy_Node__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Reference to the field that shows the account lookup to select the hierarchy node and then apply filters on the customer hierarchy.
This is a relationship field.
Relationship Name
cgcloud__Org_Unit_Hierarchy_Node__r
Relationship Type
Lookup
Refers To
cgcloud__Org_Unit__c
cgcloud__Result_Level__c
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Defines the level from which to retrieve customers.
Possible values are:
  • Store
  • Trade Org
The default value is Trade Org.
cgcloud__Sales_Org__c
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Describes the sales organization to which the segmentation rule belongs.
Possible values are:
  • 0000
  • 0001
  • 0002
  • 0003
cgcloud__Segmentation_Rule_Def__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Reference to the Segmentation Rule Definition.
This is a relationship field.
Relationship Name
cgcloud__Segmentation_Rule_Def__r
Relationship Type
Lookup
Refers To
cgcloud__Segmentation_Rule_Def__c
cgcloud__Segmentation_Rule_Template__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Reference to the Segmentation Rule Template.
This is a relationship field.
Relationship Name
cgcloud__Segmentation_Rule_Template__r
Relationship Type
Lookup
Refers To
cgcloud__Segmentation_Rule_Template__c

Associated Objects

This object has these following 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__Segmentation_Rule__cChangeEvent
Change events are available for the object.
cgcloud__Segmentation_Rule__cFeed
Feed tracking is available for the object.
cgcloud__Segmentation_Rule__cHistory
History is available for the tracked fields of the object.
cgcloud__Segmentation_Rule__cOwnerSharingRule
Sharing rules are available for the object.
cgcloud__Segmentation_Rule__cShare
Sharing is available for the object.