Skip to main content
Gregg Gusta ha publicado en #Flow

I have a screen flow that (sometimes) uses a picklist (component is displayed conditionally) 

 

The picklist is populated from a template depending on which template keyword is entered in the screenflow. The fields that populate the picklist are up to 6 text fields in the template. How do I restrict them from showing up in the screenflow picklist if they are null?

 

On the templates that do use the picklist, there could be anywhere from 1 to 6 fields that populate the picklist, however if there are less than 6 fields populated, it still is displaying the null values in the picklist, so a user could conceivably select a null value from the list which obviously is not desired. 

 

How do I restrict the picklist to only the fields that are not null in the source template? 

 

I have a screen flow that (sometimes) uses a picklist (component is displayed conditionally) The picklist is populated from a template depending on which template keyword is entered in the screenflow.

 

#Flow  #Flows  #Salesforce Flow @Salesforce Flow Automation #Validation Rule For Picklist On Picklist

2 comentarios
  1. 12 nov 2024, 18:12

    If I understand the use case, I think you can get what you need using the Quick Choice component from Unofficial SF. I set the values (or left the text box blank) in the first screen. Then, I added each answer to a Text Collection variable in the Assignment element. Next, I loop through the values in the Collection variable to see if they are blank. If so, I remove the value from the Collection. Then, using the Quick Choice component, you can display the remaining values from the string in the following screen:

     

    If I understand the use case, I think you can get what you need using the Quick Choice component from Unofficial SF. I set the values (or left the text box blank) in the first screen.

0/9000