Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

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 

Super User
Super User

Re: Using Conditions in Flow


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.

Super User
Super User

Re: Using Conditions in Flow

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



Level: Powered On

Re: Using Conditions in Flow

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

Super User
Super User

Re: Using Conditions in Flow

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


Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.


Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 74 members 3,456 guests
Please welcome our newest community members: