+ Start a Discussion
Varun Aggarwal 34Varun Aggarwal 34 

How to use more than 3 dependent picklist fields in Visual Flow?

Hello Everyone, 
The scenario for my requirement is like I have 5 picklist fields which are dependent on each other as mentioned below 

Picklist 1 
picklist 2 (Depend on picklist 1)
picklist 3 (Depend on picklist 2 )
picklist 4 (Depend on picklist 2 )
picklist 5 (Depend on picklist 2 )
picklist 6 (Depend on picklist 2 )

So the last 4 fields are dependent on the second picklist field.

Can we achieve this type of requirement in  visual FLOWS.
 
ANUTEJANUTEJ (Salesforce Developers) 
Hi Varun,

I have checked this internally and by default the dependent picklist component we can have them up to 3 levels  i.e., 
Picklist 1 
picklist 2 (Depend on picklist 1)
picklist 3 (Depend on picklist 2 )

For reference you can try checking this link: https://forcepanda.wordpress.com/2019/06/11/flow-screen-component-dependent-picklists-with-recordtype-and-multiselect-picklist-support/

In case if you think is this a feature that needs to be present then you can create a new idea on idea exchange or upvote to an existing idea so that if it reaches a certain limit it may be considered in the future.

I hope this helps and in case if this comes handy can you please choose this as best answer so that it can be useful for others in the future.

Regards,
Salesforce Support
ANUTEJANUTEJ (Salesforce Developers) 
Additionally, you can also try checking the below link that has a custom implementation of 3 level dependent picklist that you can extend to more levels:

>>3 Level-Dependent picklist: https://developer.salesforce.com/forums#!/feedtype=SINGLE_QUESTION_DETAIL&dc=Developer_Forums&criteria=ALLQUESTIONS&id=9060G0000005pt3QAA

>> 2 Level-Dependent Picklist:
https://sfdcmonkey.com/2018/08/31/dependent-picklist-lightningselect-lightning-salesforce/