cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Number of Conditions

Hello,

Is there a set number of conditions you can have in a flow? I currently have four all are "outcome equals Approved". The fourth one does not let me add an action under if yes or if no.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User
Dual Super User

Re: Number of Conditions

The limit on nesting is 5 levels.  You have 6 levels.  You'll need to restructure to remove some of the nested levels.  Perhaps by storing the result in a variable and then doing a condition on that result after you come out of the lower level.

 

Also, just an FYI.  You will find that when checking outcome from an Approval you actually wnat to test on 'Approve' not Approved.  It returns the actual value of the button Approve or Reject.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

4 REPLIES 4
Highlighted
Dual Super User
Dual Super User

Re: Number of Conditions

Hi @SuzanneC 

 

Can you plz share a screenshot explaining which 4 conditions?

Highlighted
Frequent Visitor

Re: Number of Conditions

Capture.JPG

Highlighted
Dual Super User
Dual Super User

Re: Number of Conditions

The limit on nesting is 5 levels.  You have 6 levels.  You'll need to restructure to remove some of the nested levels.  Perhaps by storing the result in a variable and then doing a condition on that result after you come out of the lower level.

 

Also, just an FYI.  You will find that when checking outcome from an Approval you actually wnat to test on 'Approve' not Approved.  It returns the actual value of the button Approve or Reject.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Highlighted
Community Support
Community Support

Re: Number of Conditions

Hi @SuzanneC,

 

Your Flow has oversized the number of allowed action nesting depth, for the source about it, you can refer to this document:

https://docs.microsoft.com/en-us/flow/limits-and-config#definition-limits

 

And this is my test for the nesting depth:Annotation 2019-08-29 132345.png

You can refer to @Pstork1's suggestion that restructures your flow, or you can consider creating multiple Flows according to your requirements.

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (6,858)