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. This object is available in API version 67.0 and later.

Supported Calls

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

Fields

Field Details
LastExecutionStatus
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
Description
Indicates the status of the most recent trigger execution.
Possible values are:
  • Error
  • Failed
  • InProgress
  • Passed
The default value is Passed.
LastExecutionTime
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
Stores the date and time when the trigger was most recently executed.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp when the current user last accessed this record indirectly, such as through a related record or list view.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp when the current user last viewed this record or list view. If this value is null, and LastReferenceDate is not null, the user accessed this record or list view indirectly.
Name
Type
string
Properties
Create, Filter, Group, idLookup, Sort, Update
Description
Stores the name of the pipeline stage trigger.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Identifies the user or queue that owns the pipeline stage trigger record.
Relationship Name
Owner
Refers To
Group, User
QualityGateCount
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores the number of quality gates associated with this trigger.
RelatedRecordId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
References the pipeline or pipeline stage associated with this trigger.
Relationship Name
RelatedRecord
Refers To
DevopsPipeline, DevopsPipelineStage
TestSuiteCount
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores the number of test suites associated with this trigger.
TriggerType
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
Description
Specifies when the trigger is executed within the pipeline lifecycle.
Possible values are:
  • Post-Promote
  • Pre-Promote
  • Review
The default value is Pre-Promote.