How to set up outbound messaging in salesforce

An Outbound message sends information to a specified URL endpoint. Information contains the fields specified at the time of creating an outbound message. It sends a secure, configurable API message(in XML format) to a designated listener.

An Outbound message is a part of Workflow and can be created for a Workflow rule. Whenever an action with Workflow rule is triggered and the rule has outbound message action, then the information specified in the Outbound action will reach to the endpoint URL.

Workflow Rule:

It is used to automate tasks, email alerts, field updates and Outbound messages actions.

Click on Setup --> Create --> Workflow & Approvals --> Workflow Rules

In the new rule, select the object to which you want to define an automated action.

Give the rule name, description and in the evaluation criteria, select the option from the three given criteria.

In rule criteria, select the required pick list value and specify the field, operator and value. Here, we specify the criteria whenever that rule met its requirement then an action should be triggered.

After creating a workflow rule, we will add workflow actions in add workflow action button. In that, select New Outbound message.

Outbound messaging:

Provide name, Endpoint URL(receives the message), user to send as fields.

Select the account fields which you want to send in the Outbound message(whenever workflow rule is triggered and the information which is saved in those fields will be sent as a message to the endpoint URL specified).

The message is delivered in XML format.

In the Outbound messaging monitor section, we can have a look at next items for delivery and oldest failures in a queue.

In those two, we can see outbound message details which we created and their actions such as on which object it was created, number of attempts made to send the message, created date and time, delivery failure reason. 

We can retry or delete the outbound message which is failed to deliver.

    By Posted On
SENIOR DEVELOPER at MICROPYRAMID

Need any Help in your Project?Let's Talk

Latest Comments
Related Articles
How to create one to one relationship between objects in salesforce Raja Gulla

Salesforce provides two relationships known as one to many relationship and many to many relationship(this can be done using junction object). Hence in this, we ...

Continue Reading...
How to use Map methods in Salesforce Vinisha Naladala

Apex provides collections such as List, Set, Map. Each collection has its own properties and characteristics that make them to use widely in salesforce. One ...

Continue Reading...
Packages in salesforce Vinisha Naladala

In the salesforce organization, when you are building a component or application, it's important to know how the component or application should be distributed to ...

Continue Reading...
open source packages

Subscribe To our news letter

Subscribe and Stay Updated about our Webinars, news and articles on Django, Python, Machine Learning, Amazon Web Services, DevOps, Salesforce, ReactJS, AngularJS, React Native.
* We don't provide your email contact details to any third parties