Salesforce Certified Application Architect

Friday 12 July 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

Salesforce Certified Application Architect & Certified Data Architecture and Management Designer Exam

How to pass Salesforce Certified Data Architecture and Management Designer Exam This exam was 1st architect exam for me. Its not that muc...