When structuring a flow decision step, I’ve learned is good practice to use positive wording for each outcome.

For example, rather than test for a negative, try to test for a positive. This ensures the outcome is chosen only when there’s an exact match. Of course, there are situations where you need to test for a negative, but they shouldn’t be the norm.

Also, it’s better to keep the actual test in the decision outcome, and not a formula field.

For example, I recently saw this: “fRecipientHasNoEmail Equals False”, where fRecipientHasNoEmail is LOWER(TRIM({!Get_Contact.Email})) = {!NOEMAIL}, and {!NOEMAIL} is a constant.

I updated it to “fRecipientEmail Does Not Equal {!NOEMAIL}“, where fRecipientEmail is LOWER(TRIM({!Get_Contact.Email}))

The latter is simpler and much easier to read and maintain.

The takeaway
Are you still even building flows anymore, or are you using AI yet?

Category:
Salesforce