Making sense of Process Builder error messages

posted Jul 17, 2016, 3:13 PM by Ezra Kenigsberg   [ updated Jul 17, 2016, 3:20 PM ]
Q: What does this error message mean? How can I get something useful out of it?
The record couldn’t be saved because it failed to trigger a flow. A flow trigger failed to execute the flow with version ID 301A0000000LL8Z.
Contact your administrator for help.

A: Despite the Flow-specific wording, the message means either a Flow or a Process failed.

With a little URL hacking, you can at least know which Flow or Process caused the problem.* Replace the XXX in the URL below with the error message's ID:

(If you're outside of North America, or you're using sandbox, or you've got some My Domain settings in place, you'll probably need to replace the "na30" part of the URL as well.)

Bam! You should be taken to the Flow or Process that generated the error, something like this:

This is the point where Button-Click Admins say "Wait! I created a Process, using Process Builder. Why am I looking at a Flow?"

The answer: Processes are Flows! Process Builder is an interface for creating unfancy Flows, which Salesforce calls Processes. I encourage you to read how much I love Processes.

* To Salesforce's credit, they're working on making this message less cryptic, with an error email that gets sent to the admin. That email gives specifics about which Flow or Process failed, when, and how.