DevopsPipelineStageTrigger

Defines trigger points within a pipeline stage where automated validations, test suite executions, and quality gate evaluations can be initiated. It tracks execution history, trigger type, associated records, and the number of linked test suites and quality gates, enabling organizations to enforce testing and quality controls at specific stages of the deployment lifecycle.

Introduced in API version 67.0.

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

  • Type: picklist

  • Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update

  • Description:

    Indicates the status of the most recent trigger execution.

    The default value is Passed.

  • Possible values:

    • Error — Error
    • Failed — Failed
    • InProgress — InProgress
    • Passed — Passed (default)
  • Default value: Passed

  • Type: datetime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Stores the date and time when the trigger was most recently executed.
  • Type: string
  • Properties: Create, Filter, Group, idLookup, Sort, Update
  • Description: Stores the name of the pipeline stage trigger.
  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Stores the number of quality gates associated with this trigger.
  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: References the pipeline or pipeline stage associated with this trigger.
  • Relationship name: RelatedRecord
  • Relationship type: polymorphic
  • Refers to: DevopsPipeline, DevopsPipelineStage
  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Stores the number of test suites associated with this trigger.
  • Type: picklist

  • Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update

  • Description:

    Specifies when the trigger is executed within the pipeline lifecycle.

    The default value is Pre-Promote.

  • Possible values:

    • Post-Promote — Post-Promote
    • Pre-Promote — Pre-Promote (default)
    • Review — Review
  • Default value: Pre-Promote