how to go through list in flow designer

Akki1
Tera Contributor

Hi,

I have a variable 'user' which is list on my catalog and in the flow designer I want to check if the 'requested_by' is there in the list. How can I do it?

2 REPLIES 2

Adrian Ubeda
Mega Sage
Mega Sage

Hi Akki1, 
I'm afraid OOTB there is no functionality for this. You can achieve this in flow Designer getting the variables from catalog  (this action is OOTB) and with a custom action. Inputs of the custom action must be the variables that you want to compare and inside with simple script you can get what you want. I've created this simple flow:

AdrianUbeda_0-1677163538536.png

AdrianUbeda_1-1677163580865.png

Inside Script Step you loop through the list checking if user appears or not, then returns as Output 1 or 0.

 

If it was helpful, please give positive feedback! ✔
☆ Community Rising Star 22, 23 & 24 ☆