web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / A Guide to Error Handl...
Power Automate
Unanswered

A Guide to Error Handling in Power Automate Flow

(1) ShareShare
ReportReport
Posted on by 85

My strategy for error handling within Power Automate Cloud Flows is to actively informing administrators and support staff as soon as something has gone wrong. Click here to read the full article.

An email warning of an error with a link to opens the Flow instance.An email warning of an error with a link to opens the Flow instance.

I would very much like to hear what other people's strategies are.

Categories:
I have the same question (0)
  • takolota1 Profile Picture
    4,974 Moderator on at

    I create 2 branches at the end of each flow.

    One branch just has a compose action with a placeholder value like 0.

    The other branch is set to run if the previous action failed, was skipped, or timed out. This branch has an email going to me & anyone else with a link to the failed flow run.

     

    This means if a flow fails, then it notifies me and still registers as a failure in the logs.

  • Siôn Profile Picture
    85 on at

    Hi @takolota,

    Thanks for your reply. Sounds similar to my solution. Do you use Solutions to package your Flows?

  • Verified answer
    Siôn Profile Picture
    85 on at

    My strategy for error handling within Power Automate Cloud Flows is to actively informing administrators and support staff as soon as something has gone wrong.

    These are the key building block:

    • The first variable builds the unique URL for the Flow instance.
    • The secound variable contains the name of the Flow.
    • The branch at the end of workflow
      1. The “Scope: Error Handling” step implements the “has failed, is skipped, has timed out” run after conditions.
      2. The “Terminate: Succeeded” step implements the default “is useful” run after condition.
    • The “Scope: Error Handling” step contains an email step which send an email* on an error, containing:
      • The name of the Flow.
      • A link to the Flow instance.

     Click here to read the full article.

    Sin_0-1643653507194.png

    *The Flow is created within a Solution and utalisd environment variables

  • takolota1 Profile Picture
    4,974 Moderator on at

    I forgot to update this thread when I made a good Flow Failure Notifications template.

    Template: https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Flow-Failure-Notifications/td-p/1494079

    I really like this one because you can literally copy & paste it into any flow with just a couple of clicks and it's automatically ready to go in most cases.

    @jaeiow @Siôn 

  • Mx81 Profile Picture
    860 on at

    Find here a helpful tutorial from Reza Dorrani concerning this topic: https://www.youtube.com/watch?v=qLADf8ne5qQ

  • Siôn Profile Picture
    85 on at

    I have included an unmanaged Power Platform Solution can be downloaded from my Power-Platform GitHub repository

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard