Skip to main content

Is it possible to use Platform Event creation in certain topic and Subscription of Lightning Component to this topic - to Pop-Up the exact object records at the exact User's screen, the same time while the request comes to the REST-service from the external system? This REST-service will create this Platform Event. 

 

The main questions are:  

1) Would the Platform Event be created the same time the request for the creation comes (or any delays are possible - what would be the delay)?

2) Would the Platform Event be read by the subscriber the same time it is created (or any delays are possible - what would be the delay)?  

 

The amount of the Platform Events in this topic is going to be approximately before 40 000 per day.   

 

Business need:  To pop-up records at the user screen "the same time or with low delay" when the event comes from the external system.

 

#Integration #Salesforce Development #Platform-events #Telephony Integration

1 个回答
  1. 2021年10月16日 22:46

    Hi,

    Platform events and push topics are for real time notifications. When the platform event is published, the subscriber receives it instantly. You can easily test it. 

     

    1. Create a Platform event.

    2. Create a LWC to subscribe to it.

    3. Use Workbench or Developer Console to publish to the Platform events.

    4. Check the LWC whether it is getting it without any delay.

     

    Sample LWC - https://www.infallibletechie.com/2021/10/how-to-subscribe-to-platform-even-using.html

0/9000