cgcloud__Segmentation_Rule_Def__c

Contains the available queries and its attributes to create segmentation rules. 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 identifier.

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__c

  • Type: textarea
  • Properties: Create, Nillable, Update
  • Description: Stores the description for the segmentation rule definition.

cgcloud__Sales_Org__c

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: Describes the sales org to which the segmentation rule definition belongs.
  • Possible values:
    • 0000
    • 0001
    • 0002
    • 0003

cgcloud__Segmentation_Query__c

  • Type: textarea
  • Properties: Create, Nillable, Update
  • Description: SOQL statement with bindings for segmentation rule definition columns.

cgcloud__State__c

  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: Indicates the current status of the segmentation rule definition.
  • Default value: Initial
  • Possible values:
    • Initial
    • Released

cgcloud__Target__c

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: Defines the type of the source programmatic language.
  • Possible values:
    • SOQL

cgcloud__Use_Account_Hierarchy__c

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Defines whether the account hierarchy is used.
  • Default value: false

cgcloud__Use_Org_Unit_Hierarchy__c

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Defines whether the org unit hierarchy is used.
  • Default value: false

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.