I get emails when an error is occurred from a Process Builder or Flow, such as below:

DECISION: myDecision4
Outcome executed: myRule_5

However, its very hard to debug because the API names does not give any hint. They are all like,

myRule, myWait, myDecision, myAction...

how can I figure out what decision, immediate action or scheduled action they are referring to?

Please help!

1 Answer 1


I think currently the only way to figure out the details of those mySomething is to examine the process builder metadata (metadata file can be retrieved by using Salesforce CLI, ant Migration Tool, etc).

After retrieving the metadata from Salesforce, open up the *.flow with text editor, and you can see which mySomething corresponds to which decision node, action, rule, etc.

For example, I have this process builder: enter image description here

The flow metadata file content is like this:

<?xml version="1.0" encoding="UTF-8"?>
<Flow xmlns="http://soap.sforce.com/2006/04/metadata">
            <label>Account Rating Hot?</label>

Salesforce automatically names my decision node as myRule_1, and a bit further down, the label tag will tell me that the corresponding decision node is the one I labelled as Account Rating Hot?.

Right above the decision node label, I can see the connector tag has myRule_1_A1 target reference, and below is the related xml snippet:

        <label>Post Chatter</label>

From the label, I can easily tell that myRule_1_A1 is the chatter post action.

So basically in short: pull the metadata, search for the variable name, and check the corresponding label.

  • Thanks!! it works perfectly for me
    – Ian K
    Jul 14, 2020 at 2:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .