cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Hazem-Hassan
Regular Visitor

Many "OR" in if Condition, how to do?

Hi,

 

I have an "if" condition where I want to include about 100 OR conditions in it but flows allow only 9 OR conditions. 

 

How to get over this? 

 

Example: 

 

If x=10 or 11 or 12 or 13 or etc. till 100 

then I want it to send an email 

 

Is there an expression to do this? 

8 REPLIES 8
PrasadAthalye
Super User
Super User

You can put all numbers in an array and then check Contains condition. Something like below... Instead of 5 you can use x.

 

PrasadAthalye_0-1619449775562.png

 

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

Can you please provide the syntax? 🙂 

You can use compose as I mentioned above. 

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

Yes, but in what you have mentioned, there is no OR condition? I want it to perform if it equals 5 or any other number not only 5

You have series of numbers and you would like to compare if X matches any number in that series. 

 

I recommended to put all the numbers in array and then just check if array contains X. If yes, your condition is satisfied. This way you can avoid writing so many OR conditions. 

 

 

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

@Hazem-Hassan - Did you get chance to review my recommendation?

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

@Hazem-Hassan - Was your issue resolved? If not, can you please try my recommendation given above?

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

@Hazem-Hassan -  did you get chance to review my suggestion?

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (60,669)