DevOps Center Custom Platform Events
DevOps Center generates platform events for work items as they move through the development and promotion lifecycle.
In the development phases, DevOps Center generates a platform event every time a work item changes state (New, In Progress, and so on). DevOps Center also generates a platform event for every commit on the work item’s feature branch and when the change request is opened.
In the promotion lifecycle, DevOps Center generates a platform event whenever the work item’s metadata is merged into a pipeline stage. DevOps Center also generates a platform event whenever a work item’s metadata is deployed to a pipeline stage’s org.
You can subscribe to these events using all the methods supported by Salesforce (Apex Triggers, Flows, LWCs, APIs, and so on).
-
Deployment (sf_devops__Deployment__e)
Notifies subscribers when a work item’s metadata is deployed to a pipeline stage. This object is available in API version 62.0 and later.
-
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.
-
Work Item Merged Change Request (sf_devops__Work_Item_Merged_Change_Request__e)
Notifies subscribers when a work item’s metadata is merged into a pipeline stage’s branch. This object is available in API version 62.0 and later.
-
Work Item Open Change Request (sf_devops__Work_Item_Open_Change_Request__e)
Notifies subscribers whenever a change request (pull request) is opened for a work item. This object is available in API version 62.0 and later.
-
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.
See Also