Showing results for 
Search instead for 
Did you mean: 
Post Patron
Post Patron

Using Conditions in Flow

I have created a flow where we are using a condition to send an email if Yes. There is a different email address for each State but since the nesting limit is 8 I am not sure how to accomplish it. If Clinician is equal to Meets Criteria and Does Not Meet Criteria and the State is IL then send email to Then if no and Clinician is equal to Meets Criteria and Does Not Meet Criteria and the State is MT then send email to Is there a way to group them but have them send emails to different addresses? Any help would be appreciated.

08-07-2019 12-46-29 PM.jpg 



Hi There!  So, a couple of different options:

For situations where you've got a couple of different choices, consider a Switch vs. a Condition.  That lets you have many paths rather than nesting a binary choice.  But...this might also work:

Initialize a string variable at the beginning and set it to the state, then at any point where it needs to send the email, you can maybe put the 'variable' for the "To:" rather than building 50 different paths.  What do you think?


Keep us posted, either way.




If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

Dual Super User II
Dual Super User II

Hi @Tbruns 


You can use expressions in Flow conditions to write complex nested conditions



Reza Dorrani


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly



Can you show me an example of the Switch case using the info in my screen shot please? Sorry I am still learning Flow.

Skilled Sharer
Skilled Sharer

You could also create a Object Variable with all of your different conditions in. Then later on in the Flow just filter the object variable based on your conditions.

- Mark

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,181)