[2024]Digital Global Overview Report 2024 Meltwater.pdf
Push notification salesforce
1.
2. 2
Select the MULE SFDC Cloud Connector and setup the following details by defining the
Global element –
User Name
Password
Security Token
URL
Mule SFDC Cloud Connector
<sfdc:config name="Salesforce"
username="test@test.com"
password="test"
securityToken="DbdkalteklajdcvNJ2vx0
LBHDpYw" url="https://test--
test.cs8.my.salesforce.com/services/
Soap/u/23.0" doc:name="Salesforce"/>
3. 3
To receive the Push Topic notifications from Salesforce, Salesforce connector has to
define as a inbound endpoint with the ‘Subscribe topic’ operation by including the Push
Topic Name –
Mule SFDC Inbound Endpoint
<sfdc:config name="Salesforce"
username="test@test.com" pass-
word="test" securityTo-
ken="dsggasgLtcvNJ2adsfDpYw"
url="https://test--
test.cs8.my.salesforce.com/services/So
ap/u/23.0" doc:name="Salesforce"/>
<flow name="SFDC_TopicFlow1"
doc:name="SFDC_TopicFlow1">
<sfdc:subscribe-topic config-
ref="Salesforce" top-
ic="/pushTopicForAccount"
doc:name="Salesforce (Streaming)"/>
<logger message="****** SFDC :
#[payload]" level="INFO"
doc:name="Logger"/>
</flow>
4. 4
Salesforce connector is defined as an inbound endpoint with the ‘Subscribe topic’
operation by including the Push Topic Name. In case of any changes in the Salesforce
Account object, the Push Topic defined in the Salesforce will auto post the notification
to the Mule Connector. Once the Account changes received in the flow -
Mule flow
5. 5
After deployment of the Mule project, if any changes made against the Account object
then it will be notified to Mule using Streaming API.
For example, I have made changes in the Customer details for Last Name from ‘Pandey’
to ‘Pandey1’ –
Once the changes are saved in the Salesforce, this will be notified to Mule via Push Topic
-
Outcomes
Notes de l'éditeur
Follow Do's and Do Not'sCommon Profile PicFollow Company and Geography:HydAdd followers from peers and WW, MuleSoftHave a Note about yourselfAsk Questions in live BrightTalk Webinars using #tweetsTweet/Retweet Articles on Mule. WW blog, G+ and Forum Links
Follow WW and Mulesoft....