function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Daniel Camp 15Daniel Camp 15 

Null current value (variable) in picklist shows unique name instead of blank

In a flow, I want to set the current value as the default in a picklist. I created a variable that brings in the current value and set it as the default choice label and stored value. It works great if there is a current value, but if the current value is empty, the default choice's unique name (underscores and all) shows up as the default label. I need the label to be blank or show - Select One - . How do I get it to stop showing the Unique Name as the label for the default choice?
Daniel Camp 15Daniel Camp 15
Ahh... Looks like this is a Lightning Flow error. I switched back to classic flows and it works perfectly. I wonder if Salesforce realizes this is one thing that isn't working correctly when enabling the "Lightning Runtime for Flows (Beta)" in the Process Automation Settings. The flows look great switched over to Lightning, but this and sometimes the date fields are acting funny.