Encrypting Platform Event Messages at Rest in the Event Bus
Defining and Publishing Platform Events
Processes and Flows
Apex and API
Decoupled Publishing and Subscription
What’s the Difference Between the Salesforce Events?
Previous Versions
Learn about special behaviors related to defining, publishing, and subscribing to platform events. Learn how to test platform events. And get an overview of the various events that Salesforce offers.
Considerations for Defining and Publishing Platform Events
Take note of the considerations when defining and publishing platform events.
Considerations for Subscribing to Platform Events with Processes and Flows
Before you use processes or flows to subscribe to platform events, familiarize yourself with these considerations.
Considerations for Publishing and Subscribing to Platform Events with Apex and APIs
Before you use Apex or Salesforce APIs to publish and subscribe to platform events, familiarize yourself with these considerations.
Decoupled Publishing and Subscription
When the publish behavior of a platform event is set to Publish Immediately, it’s published outside of a Lightning Platform database transaction. As a result, the publishing and subscription processes are decoupled—the subscription process can’t assume that an action made by the publishing transaction is committed before an event message is received. Familiarize yourself with some scenarios that can occur from the decoupled behavior.
What’s the Difference Between the Salesforce Events?
Salesforce offers various features that use events, some of which are based on standard platform events. Other features are event-like but aren’t event notifications.