Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Flow fails with error despite having configure after run on error set up for following task

(0) ShareShare
ReportReport
Posted on by

I have set up my flow to check if a row in an excel file exists, and if it does not, create a new row. The second task should only run when the first one fails (since it is configured to run after only if failed). Yet my flow failed today (normally runs fine) due to no row being found. Any ideas why this might have failed and not run the next task?

settings.pngerror.png

  • Foxxx Profile Picture
    Foxxx 17 on at
    Re: Flow fails with error despite having configure after run on error set up for following task

    Hi @brendan_o ,

     

    Is it possible that your workflow contains multiple connectors with the 'run after' configuration?

    If that's the case, when a connector fails, this 'failed' status is propagated throughout the workflow. When it reaches a connector that has the 'run after: has failed' option enabled, that particular connector becomes active. It performs its intended actions and then transitions to a 'status: successful' state. However, when this 'status: successful' status reaches the second connector with the 'run after: has failed' setting enabled, the second connector won't be activated.

    I hope this explanation helps to eliminate any confusion.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard