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 / How to prevent one fai...
Power Automate
Unanswered

How to prevent one failed action from failing the whole flow

(0) ShareShare
ReportReport
Posted on by

I've been experimenting with some error handling in my Power Automate flows, because much of the time, the errors that occur are ones that can be ignored, and I still want the rest of the flow to run. Typically, I've been using a model where after an action that has a non-negligible probability of failure, I have two parallel branches: one that runs if the action was successful and one that runs if the action failed. For simple cases, this has been working.

However, in flows where the failure can occur within a scope or other control block, the failure of any action within that block causes the entire block to fail, even with that error handling inside. Take this example...

PowerAutomate_FailedScope.png

The action outside of the block is configured to run if its "parent" branches are successful or skipped. But when anything inside that scope block fails, the whole scope is marked as failed, so that following action doesn't run. You can see in the image that the error handling itself actually worked; the "failed" branch ran, and the "successful" branch was skipped. So, how do I make this situation report the scope as a whole as successful?

Categories:
I have the same question (0)
  • CFernandes Profile Picture
    8,402 Most Valuable Professional on at

    Hey Mate,

     

    You can add Error handling - https://flow.microsoft.com/en-us/blog/error-handling/

     

    CFernandes_0-1618850203987.png

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    on at

    Hi, @CFernandes. That's precisely what I've done (described in my original post), but the entire block is still marked as failed, when it should be marked as successful, because the error handling inside was successful.

  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    The only solution I've found to this is to change how the error handling works. Instead of configuring the succeeding actions to run after "is successful" and "is skipped," I also needed to enable "has failed."

    This has the effect of causing the error handling to work not as intended, however. I want the flow to continue if and only if the preceding actions in all relevant branches was successful or skipped, but I don't want the flow to continue if one of those actions failed. The problem lies in the behaviour of the scope container, which is reported as "failed" even if error handling within it has ensured a failed action is handled properly, and all subsequent actions in the container were successful or skipped.

    Suggestion to Microsoft: re-tool the scope container to report a "successful" status if the final actions of each contained branch is either successful or skipped following an error handler. I will post an idea to this effect.

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