Platform events enable developers to deliver secure, scalable, and customizable event notifications within the Salesforce platform or from external sources. Platform events are based on a publish-subscribe architecture.
What is a platform event in process builder?
Processes built in Process Builder can subscribe to platform events and receive event messages published through Apex, APIs, flows, and other processes. Processes provide an autosubscription mechanism. To subscribe a process to a platform event, build the process to start when it receives a platform event message.
What is an event process in Salesforce?
The custom printer event can contain custom fields for the printer model, serial number, and ink level. The event is processed in Salesforce by an Apex trigger that places an order for a new cartridge. Platform events simplify the process of communicating changes and responding to them without writing complex logic.
What is a platform event triggered flow?
Users can trigger a Flow when a platform event message is received. Unlike Process Builder, users can access all available records when a Flow is invoked by the platform event message. ... Platform event-triggered flow launches when a platform event message is received. This Auto launched flow runs in the background.14 sept 2021
How do I create a platform event in Salesforce?
- From Setup, enter Platform Events in the Quick Find box, then select Platform Events.
- On the Platform Events page, click New Platform Event.
- Create a Notification platform event with the following settings: Label: Notification. Plural Label: Notifications. Object Name: Notification. ...
- Click Save.
How do I create a platform event in Apex?
Define platform event similar like custom object, go to setup –> develope –> Platform events –> create new platform events as shown below.4 sept 2020
How do I send a platform event in Salesforce?
- From Setup, enter Platform Events in the Quick Find box, then select Platform Events.
- On the Platform Events page, click New Platform Event.
- Complete the standard fields, and optionally add a description.
Can I query platform events?
You can not query Platform events through SOQL or SOSL. Published platform events can't be rolled back.19 abr 2020