Microsoft Flow – Error Handling for small flows

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

In this post I’m going to have a look at error handling in small flows. Huh, is that any different?

Not, really but when you have small flows with some action that could fail then you could consider a flow structure like this:

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

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

 

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.

 

 

 

Share
Pieter Veenstra

Business Applications and Office Apps & Services Microsoft MVP working as a Microsoft Productivity Principal Consultant at HybrIT Services. You can contact me using contact@veenstra.me.uk.

View Comments

Recent Posts

Object must implement IConvertible in Power Apps

In Power Apps when you do a Patch to create a new item or to…

3 days ago

Get started with adaptive cards in Power Automate

Getting started with adaptive cards can be difficult. In this post i have written some…

1 week ago

Create PDF documents from data in Power Automate

In this post I will look at how to create PDF documents from data. Use…

1 week ago

Unnest nested arrays in Power Automate

We all know this problem, you have a nested array in Power Automate but how…

3 weeks ago

Advanced settings not loading in Power Platform

Yesterday one of my clients showed me an issues where the Advanced settings didn't load.…

3 weeks ago

1 Better way to use Create Item in SharePoint with Power Automate

Have you been using the REST API instead of the create item action in Power…

4 weeks ago
%%footer%%