Skip to content
Bug Barometer

While doing a comparison () between two variables in a decision element, if one of them is null, the result is always true

Salesforce says this works as designed.

Summary

In comparison () of two variables (eg date-time variable) in a decision element, if one of them as null, the result is always true. Either an error message should be thrown or the result of comparison should be false.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Working as Expected with 1 report

    Nov 30, 2026

Also open in Lightning Flow