web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Is there a way to make...
Power Automate
Unanswered

Is there a way to make a single branch for error handling instead of having to handle every action separately

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

 

First of all I know this might be a bit confusing to understand. This is by far the hardest question I've had to clearly put into words and I can't find info on it at all.

 

I know that with Power Automate you can make parrallel branches that can be used to work out when the parent action has errors. For my error handling, if the previous action had errors, I get the error message and put it in a string variable that will be later sent in an email to have a summary of all the errors. Here's what it looks like :

 

 

Spoiler (Highlight to read)
21.PNG

(props to this tutorial that I found to retrieve the errors that happened in a scope : https://blogs.msmvps.com/windsor/2019/04/25/microsoft-flow-error-handling/)
(props to this tutorial that I found to retrieve the errors that happened in a scope : https://blogs.msmvps.com/windsor/2019/04/25/microsoft-flow-error-handling/)

 For this flow I'm doing, I have multiple actions, and even if some of them fail, the flow continues to finish the other actions, and then at the end of the flow if the variable errorDetails contains a string value, then I send that email.

 

 

For each action that fails, the error handling action will be the same ; putting the error in the variable. It's always the same process, no matter what the action is. So when I started creating my flow, I couldn't find a way to link all my failed actions to one single handling error method. Which means that after EACH ACTION, I add another action that is only provoked if the previous action failedm which means that I keep repeating the same piece of code OVER AND OVER again, when I could just branch all the actions that failed to one single scope that would handle the case of having errors.

 

Knowing this is probably hard to understand (I'm not the best at explaining things), here's a quickly drawing of what I have and what I imagined in my head :

 

 

Spoiler (Highlight to read)
t234.PNG23e42.PNG

 

Would there be a way to make the latter happen, or something along those lines ? This is really a bummer for me at the moment, I don't know what to do and I'm scared that what I'm doing is really not clean and isn't a good practice.

 

Thanks in advance and sorry for trouble!!

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard