web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Creating a Flow With M...
Power Automate
Suggested Answer

Creating a Flow With Many "OR" Conditions

(0) ShareShare
ReportReport
Posted on by
Hi - I've 
 
Old Flow: Basically only had one condition and triggered a different condition if "no" to update an item on a list.
 
New Flow: I need to update the APIC item on a list based on whether one value is true from a list of about 20 values. It works when I do one condition with about the max number of conditions (first image below), but once I nest another set of conditions under "if no" the list does not update (ie., flow doesn't work - second image below). Can anyone help me get this to work with an expression or a filter array or something like that? Thanks!
 
I have the same question (0)
  • eliotcole Profile Picture
    4,414 Moderator on at
    Try playing with the filter action (don't worry, you're not keeping the action) and add a condition there ... then tap the 'advanced' button ... this will give you some insight into what goes into an expression or function or two to get what you need.
     
    You might well find yourself building it much more easily than you'd previously have thought possible!
  • Suggested answer
    David_MA Profile Picture
    15,099 Super User 2026 Season 1 on at
    You would use an expression like this:

    You'll need to update it with your dynamic values and what you want to match on, but the expression used here is below. Just add a comma after the next to last closing parentheses and add your additional equals() expressions for the 20 you have.
     
    or(equals(outputs('Get_item')?['body/CostCenterName'], 'Other Operating Inc'), equals(outputs('Get_item')?['body/CostCenterName'], 'Other Operating Exp'))
  • eliotcole Profile Picture
    4,414 Moderator on at
    Much better, @David_MA , I didn't know that the new designer allowed 'Code view' on the Conditions, that's a great way for them to learn this. :-)
  • Suggested answer
    Ellis Karim Profile Picture
    12,185 Super User 2026 Season 1 on at
     
    Another option when you have lots of values to test against: store the values you want to test in an array, then check if the array contains the "peer review" value or whatever value you need to test.
     
    Here is an example:
     
     
    Here, the condition checks can be simplified to just one row:
     
    The same for condition 2:
     
     
     
    Ellis Karim
    Ellis Karim
    elliskarim.com  |  LinkedIn  |  Bluesky
    If this solved your issue, please mark it as ✅ Accepted Answer. If it helped, feel free to give it a 🩷 Like!
     
  • David_MA Profile Picture
    15,099 Super User 2026 Season 1 on at
    @Ellis Karim I like your array suggestion to store the values you want to check against. It's much simpler than writing out a long expression.

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 248 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 204

#3
Haque Profile Picture

Haque 179

Last 30 days Overall leaderboard