Skip to main content

Test your Workflow Outbound Message


Do you need any endpoint URL to test your workflow outbound message?
Are you curious about the output of outbound message?
Here is the simple method.

An outbound message is a workflow, approval, or milestone action that sends the information you specify to an endpoint you designate, such as an external service. An outbound message sends the data in the specified fields in the form of a SOAP message to the endpoint.

Configure outbound message

1. Enter a name for this outbound message.

2. Enter a unique name to refer to this component in the Force.com API and to prevent naming conflicts for managed package installations.

3. Enter a description for this outbound message.

4. Before giving the endpoint url just go this website www.postbin.org then click the MakePostbin button, a unique url will be generated and then copy the URL, use it as Endpoint in the outbound message

4. Enter an endpoint URL for the recipient of the message. Salesforce sends a SOAP message to this endpoint.

5. Select the Salesforce user to use when sending the message. The chosen user controls data visibility for the message that is sent to the endpoint.

6. Check the Protected Component check box to mark the outbound message as protected. For more information, see the Force.com Quick Reference for Developing Packages.

7. Select Send Session ID if you want the Salesforce session ID included in the outbound message. Include the session ID in your message if you intend to make API calls and you do not want to include a username and password. Sending a username and password is less secure than sending a session ID.

8. Select the fields you want included in the outbound message and click Add.

9. Click Save.

10. To set outbound messages into action, associate them with a workflow rule, approval process, or entitlement process.

11. To check the outbound message just go to endpoint url of your workflow rule, you can able to view your output as SOAP message.


Note:- If the postbin link is doesn't work for you, then use this URL for your testing http://requestb.in/



Comments

  1. Hey, nice site you have here! Keep up the excellent work!

    Outbound


    ReplyDelete
  2. Hi

    Nice explanation but when i am trying to use the same procedure getting error message as
    org.xml.sax.SAXParseException: Content is not allowed in prolog

    ReplyDelete
  3. Same error. org.xml.sax.SAXParseException: Content is not allowed in prolog.
    I can understand, there is issue with the response but is there any other endpoint to test?

    ReplyDelete
  4. Same error. org.xml.sax.SAXParseException: Content is not allowed in prolog.

    ReplyDelete
  5. Your blog is very informative, meaningful and to the point. Being a traveller blogger i find you have a very good writing sense due to which you explain details about many destination perfectly, Your blog is like books of Lonely planet for various travel destination. If someone required destination information your blog is enough instead of searching anywhere. Keep it up your meaningful blog writing. I recently returned from an Amazing Indian Golden Triangle Package which was arranged by Ghum India Ghum, travel agent in Delhi, you can tie up with them if you want.
    travel agency in Delhi
    travel Agents in Delhi

    ReplyDelete
  6. Thanks for the helpful information. Hope to hear more from you.
    5 Nights and 6 Days Golden Triangle Tour - India Trip Designer provides online booking of Golden Triangle Tour 5 Nights / 6 Days, Delhi Agra Jaipur Tour 5 Nights / 6 Days, Golden Triangle Tour 6 Days to India.

    {Kerala – God's Own Country}
    Tour List Book Now
    #05 Nights 06 Days Backwaters Beaches of Kerala
    #9 Nights 10 Days Kerala Tour Packages
    INDIA TRIP DESIGNER INDIA TOURS
    Thanks and best regards
    Manoj Sharma
    https://www.indiatripdesigner.com
    ☎+91-9837332533

    ReplyDelete

Post a Comment

Popular posts from this blog

Avoid Duplicate Records Using Flow

In this blog post lets see how to avoid duplicate records in Salesforce using the powerful feature – Flow , As the word says, flow easily flows to fulfill the requirements with ease. ☺  Many think of appexchange solutions and source code to avoid the duplicate record in salesforce, But the method I'm going to explain here is completely different and very simple. It helps you to reduce your code and can easily rebuild for other objects with different field logic with simple clicks. Lets jump into the solution, we will use flow to check duplicate record logic and use apex trigger to initiate the Flow whenever a record is created or updated. Visual Work Flow : [Click] First we will create the Flow to check the duplicate records based on the name and store the result in the variable. In this example, we will use the Account object for the dupe check. Step 1  : Create a new visual flow with the Name ‘ DuplicateAccountCheck ' Step 2  : Click and drag the RecordLookup into t

Export records from List view – ListView API

As part of the Winter’15 release salesforce introduced the List View API features which helps us to get details and records of list views for an object. I was started exploring more about the List view API and trying to build an use case using that. So I searched about List View in the IdeaExchange site then found that many users are looking for a solution to export records to excel directly from the list view. I built a solution for that Idea, which helps user to download all the records directly from the List view for both standard and custom object. You don’t have to make any change in the code to use this functionality for different objects. All you need is to create a custom button for that object as mentioned below. Lets take an example for Account object 1. Go to Setup –> Accounts –> Buttons, Links and Actions 2. Click ‘New Button or Link' 3. Enter  Label, Name and select display type as ‘List Button’ 4. Content source as “Onclick Javascript” and paste the

Become an Apex Integration Specialist in 2 hours

In the series of my favourite trailhead module blogpost this time, I’m going to cover about one of the most expected and important developer focused trailhead module “ Apex Integration Service ”. This time salesforce launched with new a Trail and 6 badges which brings over all 13 trails and 70 shiny badges in the Trailhead. Most of the salesforce projects will have an integration with the other application in the project life cycle. As a salesforce developer, we must have a sound knowledge in Integrations and salesforce provides this free “ Apex Integration service ” trailhead module which has 4 units with the followings topics Apex Integration Overview   This overview module makes you understand the difference between the Webservice and HTTP callouts and use of external site in Webservice topic salesforce Apex REST callouts  This module covers the both consuming and sending data through REST callouts. You will learn about the Deserialize  and  serialize   JSON strings in ap