ApprovalAlertContentDef

Represents the mapping that links specific user-created email templates to different notification events such as initial assignment or reassignment within an Advanced Approvals flow.

Introduced in API version 66.0.

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

  • This object is available in Enterprise, Professional, Unlimited, and Developer Editions where Advanced Approvals is enabled.
  • Type: string
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The API name of the approval workflow.
  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The unique API name of the approval step.
  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description:

    The email template that’s associated with an approval step in the approval workflow.

    This field is a relationship field.

  • Relationship name: EmailTemplate

  • Relationship type: relationship

  • Refers to: EmailTemplate

  • Type: string
  • Properties: Create, Filter, Group, idLookup, Sort, Update
  • Description: The name of the approval alert content definition.
  • Type: picklist
  • Properties: Create, Filter, Group, Restricted picklist, Sort, Update
  • Description: The reason within an approval step’s lifecycle that triggers the notification for which an email is sent. For example, when an approval work item is moved from one user to another, a reassignment notification email is sent to the user.
  • Possible values:
    • ApprovalCreationSuccess — ApprovalCreationSuccess
    • ApprovalStepAssignment — ApprovalStepAssignment
    • ApprovalStepAssignmentToDelegate — ApprovalStepAssignmentToDelegate
    • ApprovalStepReassignment — ApprovalStepReassignment
    • ApprovalStepReassignmentToDelegate — ApprovalStepReassignmentToDelegate
    • ApprovalSubmissionApprovedOrRejectedStatusUpdate — ApprovalSubmissionApprovedOrRejectedStatusUpdate
    • ApprovalWorkItemStatusUpdate — ApprovalWorkItemStatusUpdate
    • AutoApprovalConfirmation — AutoApprovalConfirmation

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version.