---
schema_version: "1"
id: d2155fcc8f7a74d7103d4579ad58c60983e4252b44b2c428c9b6b181442671b3
title: DevOps Center Custom Platform Events
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforcedx/devops-center-dev/guides/devops-center/devops-center-dev-platformevents.md
canonical_url: https://developer.salesforce.com/docs/platform/devops-center-dev/guide/devops-center-dev-platformevents.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: a18ace0663dd7b88bd8d8ceb57b8f349baa94fd5ff83a0d8c6afb7c9e9f9ec8a
products:
  - DevOps Center Developer Guide
  - salesforcedx
---

# 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)](https://developer.salesforce.com/docs/platform/devops-center-dev/guide/custom-platform-events/sforce-api-objects-sf-devops__deployment__e.md)**  


    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)](https://developer.salesforce.com/docs/platform/devops-center-dev/guide/custom-platform-events/sforce-api-objects-sf-devops__work-item-commit__e.md)**  


    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)](https://developer.salesforce.com/docs/platform/devops-center-dev/guide/custom-platform-events/sforce-api-objects-sf-devops__work-item-merged-change-request__e.md)**  


    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)](https://developer.salesforce.com/docs/platform/devops-center-dev/guide/custom-platform-events/sforce-api-objects-sf-devops__work-item-open-change-request__e.md)**  


    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)](https://developer.salesforce.com/docs/platform/devops-center-dev/guide/custom-platform-events/sforce-api-objects-sf-devops__work-item-state-change__e.md)**  


    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**  


-   [*GitHub Repository*: DevOps Center Extension Showcase](https://github.com/forcedotcom/devops-center-extension-examples/blob/main/README.md)

