A Process Builder process that makes a cross-object reference will fail when the relationship field (foreign key) the reference depends on is not populated. For example, a Process on Contact with the criteria [Contact].Account.Name equals Acme will fail when it is triggered on a Contact where the Account field is blank. The error generated in Debug Logs is: "The flow failed to access the value for myVariable_current.Account.Name because it hasn't been set or assigned."
To avoid this type of error, always check whether the lookup field is populated before making cross-object references based on that field.
The order of criteria matters. The check to verify that a lookup is not null must appear before any condition that makes a cross-object reference across that lookup.
Using the Contact-Account example: add the criteria [Contact].AccountId Is Null False before the criteria [Contact].Account.Name equals Acme, in that order. The null check for AccountId must come before the cross-object reference to the Account field.
When using condition-based criteria, ensure the null check for the lookup field itself (for example, [Contact].AccountId) is listed first. A common mistake is checking [Contact].Account.Id, which is a cross-object reference to the Account's Id field and will also fail when the Account lookup is blank. Always check the lookup field on the current object, not the related field.
When using Formula evaluates to true in the Criteria for Executing Actions, the following formula pattern prevents null errors:
AND (NOT(ISBLANK([Contact].AccountId)), [Contact].Account.Name = "Acme")
This checks that AccountId is not blank before evaluating the cross-object reference. Note: This formula syntax does not work when making cross-object references to Picklist fields using the TEXT or ISPICKVAL functions (see Known Issue W-2763830). For cross-object references to picklist fields, use Condition-Based Criteria. If formula-based criteria must be used, use the CASE function for cross-object picklist references.
Troubleshoot Processes and this critical update
Process builder cannot handle null of cross object on formula criteria
Troubleshooting Validation Rules In Process Builder Using Debug Logs
000382782

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.