April 2, 2019

How to listen to Salesforce Platform Events from MuleSoft?

Platform Event in Salesforce:



Sample Flow:



Replay Channel:



Transform Message:



Logger:



Code to execute in Developer Console:

Below code is used to create an event record so that MuleSoft can get notified.


  1. Sample__e objEvent = new Sample__e( Status__c = 'Testing' );  
  2. EventBus.publish( objEvent );  

Output:



No comments:

Post a Comment