Work Item Commit (sf_devops__Work_Item_Commit__e)

Notifies subscribers whenever a commit occurs on a work item’s feature branch. This object is available in API version 62.0 and later.

The event isn’t generated if a commit occurs on a feature branch after a work item has been promoted.

Supported Calls 

create(), describeSObjects()

Supported Subscribers 

SubscriberSupported?
Apex TriggersYes
FlowsYes
ProcessesYes
Pub/Sub APIYes
Streaming API (CometD)Yes

Streaming API Subscription Channel 

/event/sf_devops__Work_Item_Commit__e

Event Delivery Allocation Enforced 

Yes

Special Access Rules 

DevOps Center package version 8.2 or later must be installed in the org.

Fields 

FieldTypePropertiesDescription
EventUuidstringNillableThe unique ID of the event, which is shared with the corresponding storage object. For example, 0a4779b0-0da1-4619-a373-0a36991dff90. Use this field to correlate the event with its storage object.
ReplayIdstringNillableRepresents an ID value that is populated by the system and refers to the position of the event in the event stream. Replay ID values aren’t guaranteed to be contiguous for consecutive events. A subscriber can store a replay ID value and use it on resubscription to retrieve missed events that are within the retention window.
sf_devops__Remote_Reference__cstringCreateThe unique ID of the commit in the source control system.
sf_devops__Work_Item_Id__cstringCreateThe ID of the work item associated with the commit on the work item’s feature branch.