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
rohit m 32rohit m 32 

How to Loop over a multiselect picklist field in a Flow

I Have a scenario where i need to create a record based on the multiselect field value . How can we loop over a mutliselect picklist field in a flow
Best Answer chosen by rohit m 32
Ajeet28augAjeet28aug

Hi Rohit, 
Can you please share a screenshot of your flow? Do you want to use a dependent picklist in your flow? 

Regards
Ajeet Jain
Salesforcegig (https://www.youtube.com/channel/UCY43XKGj2_f83aXChw8saJg/)

All Answers

Ajeet28augAjeet28aug

Hi Rohit,

Please refer this: https://youtu.be/YEprEUWXO3M

 

Let me know if you have any other questions.

Regards
-Ajeet jain

rohit m 32rohit m 32
Hi Ajeet,
Thank you for your previous Suggestion.

1)I Have created a picklist value in flows and the values are YES and NO . When the flow is invoked every time its picking one of the value by its. I need user to select the value.
2)I have created a Dependent picklist but how to make it mandatory.
Ajeet28augAjeet28aug

Hi Rohit, 
Can you please share a screenshot of your flow? Do you want to use a dependent picklist in your flow? 

Regards
Ajeet Jain
Salesforcegig (https://www.youtube.com/channel/UCY43XKGj2_f83aXChw8saJg/)

This was selected as the best answer
Ajeet28augAjeet28aug
Please refer this: https://help.salesforce.com/articleView?id=flow_ref_elements_screencmp_dependentpicklists.htm&type=5

Let me know if the above helps.
rohit m 32rohit m 32
User-added image
Here i am not selecting any value in the picklist field but by default picking it. How to avoid it
Ajeet28augAjeet28aug
Hi Rohit,

Just add a picklist value, with the label = '--None--' and value=''.
rohit m 32rohit m 32
Hi Ajeet

It is a required field, I have made the change . Now its displaying "--None--" on UI. If i click on the next button it should threw the message "Please fill this field."  but the sad part is .... next page is displaying. 
VIBHOR GOEL 47VIBHOR GOEL 47
Checkout this latest way to do this using a downloadable apex action component. It Parses and converts Multi Select Picklist values in a Flow to a ): https://www.accidentalcodersf.com/2021/01/parse-multi-select-picklist-values-flow.html