Obtain a Platform Event’s Subscribers
View a list of all triggers or processes that are subscribed to a platform event by using the Salesforce user interface or the API.
CometD and Pub/Sub API subscribers to a platform event channel aren’t exposed in the user interface or the API. Flow Pause element subscribers to a platform event aren’t returned in Metadata API.
-
View and Manage an Event’s Subscribers on the Platform Event’s Detail Page
View the triggers, flows, and processes that are subscribed to a platform event in the Subscriptions related list. Manage subscriptions for Apex triggers.
-
Obtain Processes That Subscribe to a Platform Event in Metadata API
Use Metadata API to retrieve all processes subscribed to a platform event.
-
Obtain an Event’s Subscribers by Querying EventBusSubscriber
The EventBusSubscriber standard object contains information about the trigger and process subscribers of all platform events. You can query this object using SOQL.