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 / Error handling when en...
Power Automate
Unanswered

Error handling when entire flow fails

(0) ShareShare
ReportReport
Posted on by 195

Hello PA'ers,

 

I want to update the status of a SharePoint list item when the flow fails.  How do I update an item if the entire flow fails without creating a branch at every step?


I looked at: https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Error-handling-when-action-fails/idi-p/16526 to no avail.

 

Thanks, JS

Categories:
I have the same question (0)
  • Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at

    @wiredupjax 

    Easiest thing might be to throw the whole thing in a Scope and then using Configure Run After on that.  Here's an article introducing that:

     

    Using "Run After" as a Condition in Power Automate / Flow

     

    Keep us posted.

    -Ed

     

     

    If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

  • wiredupjax Profile Picture
    195 on at

    @edgonzales,

    Thank you for the quick response.

     

    After reading the article, this only addresses a particular step... not the entire flow.  I'd like to update a SharePoint item if ANY step fails. See graphic:

    error handling.jpg

     

  • Verified answer
    Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at

    @wiredupjax 

    Right, so up at the top (just after your trigger as they can't be included in a scope), click Add an Action and look for scope.

     

    Add that as your first step after the trigger, and then start dragging the rest of the actions into the scope.

     

    Once most of the flow is inside the scope, you can now add the stuff that you want to do if it errors out after (outside of the scope), as an example, maybe you have your trigger, a scope with the whole flow in it, and then a Send eMail action.

     

    On that Send eMail action, you do Configure run after, and select Error or Timed out for the previous action (which will be the whole-flow scope).

     

    Here's a simplified version.  Inside my scope are all the steps for my flow:

    20200611a.PNG

     

    Keep us posted.

    -Ed

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard