Notifications
Announcements
Hi, can I know how to search a array of values in filter array in Power Automate.For example - user input in PVA was - name1, name2 . I have split this input by comma.
How can I search these values in filter array without using for each loop?
Hi @Sriram_S18 ! Assuming you’ve already split the user input by comma (as you mentioned), you should have an array of values, you can use Filter array action.
@or( contains(item()?['name'], 'name1'), contains(item()?['name'], 'name2') )
The output will contain only the items that match the search criteria & you can then process this filtered output as needed (e.g., store it in a variable, use it in subsequent actions, etc.)
------------------------------------------------------------------------------------------------------------------------------If I have answered your question / helped to solve your problem, please accept as solution and give me a Thumbs up. Thanks! - Remember: you can accept more than one post as a solution.
Thanks for your answer. We don't know how many inputs we will get. Is there a way to search an array of user input values in a filter array without using loop?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 261 Super User 2025 Season 2
Romain The Low-Code... 198 Super User 2025 Season 2
S-Venkadesh 93 Moderator