How to use if condition for Lookup Multiple choice variable in flow designer

nayanmule
Tera Expert

Hi,

 

I have multi choice variable in my catalog item which is displaying data from a referenced table. I want to use if condition based on the values selected and perform the next steps.

But, when I use if condition in flow designer for the same variable I am not able to get the choices.

 

Any help will be appreciated.

nayanmule_0-1745231576802.png

 

Thanks

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@nayanmule 

it's same as Lookup select box and flow has limitations

that's OOB behavior. it won't show choices for Lookup select box variable.

Do this and enhance as per your requirement

1) Use Get Catalog Variables action and include that Lookup select box variable. Ensure Lookup value field = SysId for you variable

2) then use lookup on that custom table which is referred by that Lookup select box with proper filter condition

3) then use IF logic to check if the lookup action gave success or failure

Based on that you can proceed further

Something like this

AnkurBawiskar_0-1745231940312.png

 

 

AnkurBawiskar_1-1745231940306.png

 

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@nayanmule 

Would you mind closing your earlier questions by marking appropriate response as correct?

Members have invested their time and efforts in helping you.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

Thankyou so much for providing your help , I really appreciate it. I am yet to go through the solutions & try that you have mentioned. Once, I get the expected outputs/results I will surely acknowledge them.

 

Once again thankyou for putting so much efforts and helping the fellow community members.

 

Best Regards,

Nayan

Ankur Bawiskar
Tera Patron
Tera Patron

@nayanmule 

it's same as Lookup select box and flow has limitations

that's OOB behavior. it won't show choices for Lookup select box variable.

Do this and enhance as per your requirement

1) Use Get Catalog Variables action and include that Lookup select box variable. Ensure Lookup value field = SysId for you variable

2) then use lookup on that custom table which is referred by that Lookup select box with proper filter condition

3) then use IF logic to check if the lookup action gave success or failure

Based on that you can proceed further

Something like this

AnkurBawiskar_0-1745231940312.png

 

 

AnkurBawiskar_1-1745231940306.png

 

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur Bawiskar
Tera Patron
Tera Patron

@nayanmule 

this worked for me for Lookup Multi select

1) you should use flow variable to get the value and then compare it in IF logic

lookup multi select choice in IF logic.gif

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader