How to find which flow caused an error?

Have you ever gotten an email or seen the screen with the error:

The record couldn’t be saved because it failed to trigger a flow. A flow trigger failed to execute the flow with version ID XXXXXXXXXXXXXXX. Contact your administrator for help.

Then, like any good admin, you try to put the id in the URL to see where it goes and you get absolutely nothing useful from it? Well, thanks to the Salesforce community I have learned that there is a “magic URL” that allows you to access that ID and see exactly which Flow (or Process Builder) caused the issue.

The URL is:

hxxps://xxx.my.salesforce.com/designer/designer.apex#Id=[place the ID here]

It’s not over yet, though! You need to keep refreshing the page until you see the flow designer page and you see a spinning wheel. Then, take 30 seconds to relax while the page finishes loading.

Viola! You can see the flow that caused the error and dig into what happened. This is especially useful if it was a Process Builder that caused the problem because you are now behind the scenes of the usual GUI and can more easily figure out what is causing the error.

2 thoughts on “How to find which flow caused an error?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s