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
Khalid Abdullah 11Khalid Abdullah 11 

Flow Help: How do I create a picklist selection based off multiple values?

Hello all,

I am trying to create a set of Dynamic Choice Picklist values in a screen for users to select from, however, I need those picklist values to be limited to 2 profiles only. Unfortunately, there's no way to do advanced filtering logic ("And" / "Or" conditions).

I've tried creating a formula to store both Profile IDs with an "OR" condition with the hopes that I could select this variable, but I'm afraid I must be doing this wrong because when I try to reference this variable it's not returning any results.

Screen --> Dynamic Choice Picklist

Any ideas?? Thanks!!
Best Answer chosen by Khalid Abdullah 11
Rakesh51Rakesh51
OR condition is possible with Flow, for example

Lead object

1. Group__C equals Group1
2. Status equals Open
3. Status equals Closed
4. Status equals Denied 

It means 1 AND (2 OR 3 OR 4) 

All Answers

Khalid Abdullah 11Khalid Abdullah 11
Also, my intended result is that only usernames with one of those two profiles will be returned in the picklist
Rakesh51Rakesh51
OR condition is possible with Flow, for example

Lead object

1. Group__C equals Group1
2. Status equals Open
3. Status equals Closed
4. Status equals Denied 

It means 1 AND (2 OR 3 OR 4) 
This was selected as the best answer
Khalid Abdullah 11Khalid Abdullah 11
That's awesome! That totally worked thank you!