Skip to main content

How to deploy Platform Events

This guide explains how to retrieve and deploy Platform Events in Gearset

Richard Terry avatar
Written by Richard Terry
Updated over a week ago

Platform Events are a little confusing as the Custom Platform Events found in Salesforce under Platform Events ->Custom Events, are stored under the Custom object metadata type.
​

Your events will then show as separate Custom Objects in the comparison view.

Depending on how your event is setup you may also need to include a few other metadata types.

The full list of metadata types that relate to Platform Events is as follows.

  • Custom Object

  • Platform event subscriber config

  • Platform event channel member

  • Platform event channel

  • Event relay config

  • Flow

  • Apex Trigger

Once you have added the above metadata types you should be able to deploy all required changes.

Did this answer your question?