cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
akharns
Level 8

Making a flow bullet-proof

It seems that there are a number of things that can go wrong that will cause a flow to fail, and I don't think I have seen a reliable reporting of failed flows.  If we create a flow to automate a process, the assumption is that we don't have to continue to actively monitor the process to know that it is working.  

Are there some best practices to ensure errors are handled the best way and reported when they occur?

5 REPLIES 5
Super User
Super User

Re: Making a flow bullet-proof

Hi @akharns 

 

It depends how crutial the failures are for the business. You can add an action after a failure explicitly adding the action to every flow step. It's similar like in programming programmer decides which exception need to handled internally and carry on or throw an exception, log the details / notify.

 

For flow you can set against configure run after option to decide what to do with the exception.

 

Please have a look at this link.

 

https://flow.microsoft.com/en-us/blog/error-handling/

 

Also there is a generic notification via email you can receive. Have a look at this.

 

https://flow.microsoft.com/en-us/blog/microsoft-forms-tables-flow-failures/

 

 



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!



akharns
Level 8

Re: Making a flow bullet-proof

I have started looking into this. I haven't gotten very far.  This assumes I can anticipate where the failures will occur.  If the problem is in the trigger, I'm sunk.

 

There ought to be a way to have a global handler that will execute for any unhandled exception.

Super User
Super User

Re: Making a flow bullet-proof

Hi @akharns 

 

Thanks for your reply. If you think trigger failures and global exceptions need to be handled you can post this in the idea forum.

 

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

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!



akharns
Level 8

Re: Making a flow bullet-proof

Ok, I will.  I have posted ideas there before with no response.  Do we think they get read?

 

Super User
Super User

Re: Making a flow bullet-proof

Hi,

 

Generally if you get enough vote from the community it will be considered. That's my understanding of posting an idea.



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!



Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Coming Soon: T-shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

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!

sixthImage

Power Platform World Tour

Find out where you can attend!

Top Solution Authors
Top Kudoed Authors
Users online (5,954)