Power Automate – Get Action Error Details
Image Source: Shutterstock.com
Power Automate
Jun 19, 2023 9:30 AM

Power Automate – Get Action Error Details

by HubSite 365 about Angelo Gulisano [MVP]

Productivity Solutions Manager presso Npo Sistemi | Microsoft Certified Trainer

Citizen DeveloperPower AutomateLearning Selection

In this article, let’s see how you can catch error during flow executions and send information via email. My way to catch error is by incorporating error handli

In this article, we discuss how to catch errors during Power Automate flow executions and send information via email. The method involves incorporating error handling and tracking in a log table or SharePoint list, as well as sending an email with error details. If you haven't already, you should read the previous article on "Power Automate - Try Catch."

The Power Automate flow we are using has a manual trigger that fetches weather information and logs it in a SharePoint list. According to the previous article, we should add "Try Catch" scopes to our flow. With the "Catch" scope added, it is now configured to execute only in case of:

  • has failed
  • Is skipped
  • has time out

You can now add actions to track if your flow is experiencing any issues.

The article details a method for catching errors during Power Automate flow executions and communicating the information via email. The author employs a manual trigger Power Automate flow that records weather information in a SharePoint list, and uses "Try Catch" scopes for error handling. The author instructs on creating a "Catch" scope that will trigger if the flow fails, is skipped, or times out.
To gain error details, the article suggests adding a "Compose" block within the "Catch" scope, which fetches output from the "Try" scope and filters to extract error details. A "Filter array" action is used to filter results from the "Try" scope for failures. This information can be used to send detailed error alerts via email or track them in a list.
 
 
The author concludes by displaying the final flow with error handling and some sample error details. The author encourages feedback, suggestions for improvement, and invites questions.

Read the full article Power Automate – Get Action Error Details

 

Learn about Power Automate – Get Action Error Details

Power Automate is a powerful tool that allows users to automate their processes and tasks. With it, users can create flows that can be triggered manually or automatically. The main purpose of Power Automate is to save time and resources by automating repetitive tasks. In this article, we will look at how to catch errors during flow executions and send information via email. We will also discuss how to incorporate error handling and track errors in a log table or SharePoint list. Additionally, we will look at how to add a Try Catch scope to our flow, as well as how to set up email notifications in case of errors. Finally, we will discuss how we can add actions to track if our flow is going as expected.

More links on about Power Automate – Get Action Error Details

Get the result of your failed actions in Power Automate
Mar 6, 2020 — Today, I bumped into the result function in Flow. We can now collect failed action details directly within the flow and report the failures ...
Power Automate - Error Handling with Messages
Dec 10, 2020 — Power Automate – Error Handling with Messages · Wrap the Actions in a Scope – note: wrap all your actions in a scope (or, at least any action ...
Error Handling – Power Automate
Jan 15, 2022 — You have multiple flows, they run multiple times a day and then one starts failing. Power Automate will eventually notify you that your flow ...
3 Power Automate Error-Handling Patterns You Must Know
Oct 30, 2022 — Learn to use these 3 Power Automate error-handling patterns: 1. Try, Catch Finally, 2. Terminate Actions, 3. Get the Flow Run URL.
Error handling in Power Automate
Nov 24, 2020 — Errors in Power Automate can happen for all sorts of reasons. For example when you use a wrong data type (integer instead of string) or when ...
How to get error message from failed scope in Power ...
In today's blog I shall walkthrough the steps to get the error message when a prior scope failed in Power Automate flow. Using scopes to mimic Try-Catch ...
Error handling in Power Automate flows
May 30, 2023 — With this article I will cover the topic of how to handle errors in Power Automate flows and how to track them for a later analysis of them.

Keywords

Error Handling, Power Automate, Flow Executions, Log Table, SharePoint List, Email Error Details