New answers tagged

1 vote

Scenarios to use Platform Events

In addition to the other comments, Platform Events are an ideal way to change the running user. Using the metadata type PlatformEventSubscriberConfig you can define the running user to be (typically) ...
cropredy's user avatar
  • 69.9k
2 votes

Scenarios to use Platform Events

In addition to the points in other answers, Platform Events can be used to perform what is effectively asynchronous processing outside the initiating transaction in a sequential (or narrowly ...
Phil W's user avatar
  • 34.1k
2 votes

Scenarios to use Platform Events

Event-driven architecture tends to be a more efficient method of communicating between systems. This is because the subscribers don't have to continually check for updates (polling), publishers don't ...
sfdcfox's user avatar
  • 481k
1 vote

Scenarios to use Platform Events

Are there any scenarios where platform events are the only option to choose from? As far as I know there isn't any. Mainly because platform events are based on Streaming API which is existing already ...
user1974566's user avatar
  • 2,275
1 vote
Accepted

Scenarios to use Platform Events

Take the scenario where Salesforce needs to publish an event when a certain thing happens. Salesforce announces - as the Publisher in the Pub-Sub system - that something happened, and this event ...
Renato Oliveira's user avatar

Top 50 recent answers are included