Work Item State Change (sf_devops__Work_Item_State_Change__e)

Notifies subscribers when the State__c field of a work item changes. This object is available in API version 62.0 and later.

This event is empty if the current state is New. In some cases, a work item can revert to a previous state, for example, if it’s not approved for promotion.

create(), describeSObjects()

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

/event/sf_devops__Work_Item_State_Change__e

Yes

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

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__New_State__cstringCreateThe current state of the work item.
sf_devops__Previous_State__cstringCreate, NillableThe previous state of the work item.
sf_devops__Work_Item_Id__cstringCreateThe ID of the work item that changed state.