cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dsmcwhir
Helper II
Helper II

Will This Work? - Error Handling w/ "Configure Run After" after Parallel Branches

Hello,

 

I have a question about error handling. I have a flow that has about 7 parallel approval branches (middle two branches and the final step of the flow shown in the screenshot) and in the event that one of the approvals does not work for some reason, I would like to be able to notify the person who submitted the request and then have the flow only continue to the final steps of the flow if all of the requests succeeded.

 

Normally, I understand that a good way to do this would be to add a parallel branch after the approvals request that only runs if the Approval fails. However, in this case, I cannot add a parallel branch to the final step in the flow because it comes immediately after the 7 parallel branches. 

 

So my solution to this was to add an error notification email in each parallel branch with "Configure Run After" the approval fails or times out. And then to the last step I changed it to "Configure Run After" they are all skipped (2nd picture is this portion zoomed in). So my question is:

 

Will this work? I have done some tests with a smaller flow and it seems to, I'm just wondering if there's something I'm not thinking of. Part of my confusion is that I'm not sure if it's an OR statement for each error notification (i.e. "If any of them are skipped" it will run) or if it's an AND statement (i.e. "if all of them are skipped").

 

Hopefully this makes sense. Thanks!

 

 

dsmcwhir_0-1619024674660.png

dsmcwhir_1-1619024857783.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User
Super User

Hi @dsmcwhir 

 

From what you described and the screen shot it look ok to me. I would say more test on this and make sure everything is ok. The error handling configuration is fine as well.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

View solution in original post

4 REPLIES 4
abm
Super User
Super User

Hi @dsmcwhir 

 

From what you described and the screen shot it look ok to me. I would say more test on this and make sure everything is ok. The error handling configuration is fine as well.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
dsmcwhir
Helper II
Helper II

Thank you! I will try it out over the next couple of weeks and mark this as a solution if it worked.

KevinApp
Frequent Visitor

I was looking for the answer to dsmcwhir's question ("OR statement for each error notification (i.e. "If any of them are skipped" it will run) or if it's an AND statement (i.e. "if all of them are skipped)") as well regarding the run-after config with parallel branches. I am assuming if the solution ran as expected that is an "OR". Can someone verify?

Hi @KevinApp , this did work fine for me and my company has been using this "successfully" for about a year now. Sorry for not marking it as a solution sooner. However, recently I found that my flow was really large, and made error handling pretty difficult. For me at least, Power Automate gets really slow when there are too many actions and it was taking me about 5-8 minutes to even open my flow to edit or view a specific run of my flow. For this reason, I'm in the process of transitioning my workflow into separate workflows to reduce the amount of time error-handling takes. I got that idea here: https://docs.microsoft.com/en-us/power-automate/guidance/planning/separate-flows

 

Hope that helps you some!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (2,505)