NtfcnCriteria

Represents the criteria associated with the definition of a notification that’s configured for a specific object. For example, the Notification for Creation of Problems is a setup definition with a criteria that allows admins to say that when all conditions are fulfilled for a specific event type such as creation of a record, only then notifications can be triggered. This object is available in API version 62.0 and later.

Supported SOAP API Calls 

create(), delete(), describeSObjects(), query(), retrieve(), update()

Supported REST API Calls 

DELETE, GET, HEAD, PATCH, POST, Query

Usage 

Use this object to query and manage Notification Criteria in your org. Client applications can create, update, delete, or query records associated with Notification Criterion via the API.

Fields 

CreatedById 

  • Type: reference
  • Properties: Create, Defaulted on create, Filter, Group, Sort
  • Description: The ID of the user who created this record.
  • Relationship Name: CreatedBy
  • Relationship Type: Lookup
  • Refers To: User

CreatedDate 

  • Type: datetime
  • Properties: Create, Defaulted on create, Filter, Sort
  • Description: The date and time on which this record is created.

CriteriaName 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The name of the criteria that uniquely identifies it within the definition.

CustomExpression 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The custom expression used in the criteria that suggests which conditions apply to the definition.

ExpressionType 

  • Type: picklist

  • Properties: Create, Filter, Group, Restricted picklist, Sort, Update

  • Description: Specifies the type of expression used to evaluate the conditions that apply to the criteria.

  • Possible values:

    • And—AND
    • CustomLogic—Custom Logic
    • Or—OR

Id 

  • Type: id
  • Properties: Defaulted on create, Filter, Group, Sort
  • Description: The ID of this Notification Criterion.

IsDeleted 

  • Type: boolean
  • Properties: Defaulted on create, Filter, Group, Sort
  • Description: Indicates whether the notification criterion is deleted or not.
  • Default value: false

LastModifiedById 

  • Type: reference
  • Properties: Create, Defaulted on create, Filter, Group, Sort
  • Description: The ID of the user who last modified this record.
  • Relationship Name: LastModifiedBy
  • Relationship Type: Lookup
  • Refers To: User

LastModifiedDate 

  • Type: datetime
  • Properties: Create, Defaulted on create, Filter, Sort
  • Description: The date and time on which this record was last modified.

ManageableState 

  • Type: picklist

  • Properties: Filter, Group, Nillable, Restricted picklist, Sort

  • Description: Indicates the manageable state of the specified component that is contained in a package.

  • Possible values:

    • beta—Managed-Beta
    • deleted—Managed-Proposed-Deleted
    • deprecated—Managed-Proposed-Deprecated
    • deprecatedEditable—SecondGen-Installed-Deprecated
    • installed—Managed-Installed
    • installedEditable—SecondGen-Installed-Editable
    • released—Managed-Released
    • unmanaged—Unmanaged

NtfcnDefinitionId 

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: The notification definition for which a criteria is specified. This field is a relationship field.
  • Relationship Name: NtfcnDefinition
  • Relationship Type: Lookup
  • Refers To: NtfcnDefinition

SystemModstamp 

  • Type: datetime
  • Properties: Defaulted on create, Filter, Sort
  • Description: The date and time when this record was last modified by an automated process.