Power Automate – Error Handling for small flows

In this post I’m reviewing the different approaches for error handling with the well known Try / Catch patterns and error handling for small flows.

Introduction to error handling in Power Automate

In my series of error handling posts I’ve looked at

In this post I will look at error handling in small flows. Huh, is that any different?

Not, really but when you have small flows with only very few actions that could fail then you could consider a different approach. Something like the following setup could work:

Parallel Error Handling in Power Automate
Parallel Error Handling in Power Automate

Flow runs using parallel branches

When an action fails you will see the flow going into the failed section of your flow.

Parallel Error Handling in Power Automate for Failed flow
Parallel Error Handling in Power Automate for Failed flow

And when an action is successful the flow will continue in the Success branch.

 

Parallel Error Handling in Power Automate for Successful flow
Parallel Error Handling in Power Automate for Successful flow

All of this can be done with parallel actions.  You will find however that adding 4 branches after every action is less practical than the try / catch approach but for smaller flows this could be a good pattern to follow.

Potentially you could even simplify the pattern by merging the Failed, Skipped and Timeout into one branch. That way there is a did run  and a did not run branch. And having two branches after each potentially failing action you might find that this pattern becomes more manageable.

 

 

 


Discover more from SharePains

Subscribe to get the latest posts sent to your email.

Avatar of Pieter Veenstra

Is your business still running on paper trails, sprawling Excel files, or ageing Access databases? There's a better way — and I can show you exactly what it looks like. I'm the Technical Director of Vantage 365, a Microsoft solutions consultancy working with clients across the UK, the Netherlands, and worldwide. For over 30 years I've been turning messy, manual business processes into clean, automated systems that save time, reduce errors, and give teams the visibility they need to make better decisions. You can contact me using contact@sharepains.com

Related Posts

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from SharePains

Subscribe now to keep reading and get access to the full archive.

Continue reading