Salesforce Fact #681 | Null check on screen flow dependent picklist

Screen input component values are set to null when they're hidden by conditional visibility. But hidden picklists in a dependent picklist component aren't set to null unless the entire dependent picklist component is hidden.

In this example, we have a dependent picklist component and a text input component in the screen flow. We have hidden the text component and also we are not selecting the third level picklist value i.e. it is hidden as well. 

When we are doing a null check, for picklist value it is not equal to null whereas for the input text it is set as null.

Reference: https://help.salesforce.com/s/articleView?id=sf.flow_ref_elements_screencmp_dependentpicklists.htm&type=5

Attached are the screenshots.





Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow