[SalesForce] Outbound Messages won’t send from Workflow Rule

I have a Workflow Rule set up to send an Outbound Message every time a Lead is edited. We evaluate the rule when a record is: "created, and every time it's edited". The Rule Criteria is set to Field: Lead:Zip Code, Operator: not equal to, Value: 00000 (I want this rule to fire an outbound message each and every time a Lead is edited).

The Outbound Message is pretty standard. Just hits our endpoint URL and "Send Session ID" box is ticked. We are just sending the Id.

After I activate this rule and try to test it by editing a lead, we never see our URL getting hit.

When I check the delivery status in Outbound Messages>View Message Delivery Status, there are no messages at all.

I have searched for an answer, and while there are good questions and answers about Outbound Messages being lost, ours are not lost, they appear to never send in the first place.

Any ideas on what I am missing?

UPDATE – Here is the log from the Developer Console. It appears that the rule requirements are met and the message fired.
enter image description here

UPDATE SOLVED – Getting the message to fire every time with NOT(ISBLANK(Name)) worked great. We also had a issue with the URL we were hitting silently failing. Best thing was seeing the workings in the Developers Console. That was a great tip.

Best Answer

Lets do some guess here:

1) Do you have all as per this doc : https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_om_outboundmessaging_setting_up.htm

There is a line that says "

If you do not have these options, your organization does not have outbound messaging enabled. Contact salesforce.com to enable outbound messaging for your organization.

" so I have a feeling that outbound message needs to be activated for your org. ( I could be wrong here since you seem to have setup everything, just writing this since it might be a good reference for others to follow)

2) As per Daniel's blog :

http://www.fishofprey.com/2011/08/salesforce-outbound-messages-not-being.html

It looks like the user needs to have

Administrative Permissions: Send Outbound Messages

check if this is enabled on the user profile. If you are sending it as a sys admin ( beware I have seen orgs cloning standard profiles and renaming to create a custom profile, so if you are standard sys admin and not a custom one) you should have it by default.

Related Topic