The underused workflow action

Its rare that you have worked in Salesforce for some time and have not heard about workflows.Ask anyone what are the actions of workflow they start counting and uttering :

  1. Create task
  2. Send email
  3. Update field
  4. Outbound message

Everyone knows and have implemented the first three, but wait what is this outbound message. Is it a text message? To be honest when I was exploring workflow I did not even open that section.It was like a hollow cave that I did not want to explore.If I had really learned it when I got a chance I could have avoided a lot of apex code in integration.

Yes! you heard it right outbound message is an optimal solution for outbound integrations. Speaking in technical language outbound message allows to send message with field values to designated external servers when changes to fields occur in Salesforce. You can achieve an integration with few points and clicks using outbound message.

Some of the features that makes outbound message a rock star are :

  • In built retry mechanism
  • Single message can include up to 100 notifications
  • No code maintenance

However a major drawback can be noted as the destination has to be specifically tailored to accept the SOAP messages being sent from Salesforce. For the existing third party web services this can be noted as a problem because you will have to revamp the whole service just to accept the messages.

It does not hurt to know all the options before you decide on the optimal solutions.So next time you get an integration requirement try to explore outbound message and find if it can solve the problem because the retry mechanism that Salesforce is providing out of the box is not a small feature to overlook.

For more reference check out the documentation link

Karthi Subramanian

Technical Architect at Salesforce

5 年

Samer Aboobacker Good one. One more use case that come to my mind is Automatic sync mechanism with external system/data store for a given sObject (No code)

回复
BaLaSubramaniam Mariappan

Technical Architect at Salesforce

5 年

Nice Article.?

要查看或添加评论,请登录

Samer Aboobacker的更多文章

  • Are you aware of the pitfalls while using "WITH SHARING" keyword?

    Are you aware of the pitfalls while using "WITH SHARING" keyword?

    Can you insert a record in Salesforce even though you don't have a create permission at Profile level? My answer to…

    2 条评论
  • Deep dive into ADDERROR() ! Shall we error it out?

    Deep dive into ADDERROR() ! Shall we error it out?

    AddError() is common method which you encounter in any day coding. Whenever the validation rules cannot meet the…

  • Significant Salesforce acquisitions

    Significant Salesforce acquisitions

    Salesforce acquiring Vlocity is the most trending news in Salesforce ecosystem.The first acquisition by the company was…

  • Questions that make integrations less dreadful

    Questions that make integrations less dreadful

    Integrations are sure to happen in any enterprise application as it is nearly impossible for any system to service all…

    1 条评论
  • Must know SFDX commands!!!

    Must know SFDX commands!!!

    Everyone in the salesforce ecosystem knows what is SFDX and the plethora of commands it offers to work in salesforce…

社区洞察

其他会员也浏览了