cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
HeadInTheCloud
Advocate I
Advocate I

Crummy error handling

I thought Flows were nice and easy to work with, but when anything goes wrong in the middle of a flow - especially inside a Do Until loop - good luck with figuring it out. Not only does the flow just stop and report 'Failed', but you have to dig to find an error message that isn't helpful at all. For example, last night I had a flow that works fine and had run the step setting a boolean variable HasMore many times, it failed with the error 'Invalid Template. Unable to process template language expressions in action 'set_HasMore' inputs at line '1' and column '2771': 'The template language function 'variables' must have only one parameter.'.

This message is not helpful at all and there is no reason it should fail on the 275th pass.

 

It would be nice if it gave more insight into the exception and even better if we could handle the exception, log it and continue to report what the Flow accomplished up until the error.

1 REPLY 1
Rahber
Super User
Super User

You can also give your feedback and vote for such new features in the Ideas forum. Couple of related ideas for improvements are

https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Proper-Error-Descriptions/idi-p/74570

https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Error-handling-in-flows/idi-p/344527

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,187)