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 / Run After if part of p...
Power Automate
Answered

Run After if part of paralell flow has succeeded

(0) ShareShare
ReportReport
Posted on by

Hey there,

 

I have a flow which runs on a document library and after one approval got accepted it updates the status of the document and starts the next approval.

As it sometimes happens that the documents are locked because the user still works in it flow can't update the status of the document stored on SharePoint. The action "Update file properties 4" fails. It then sends the user a mail and tryies to update the file every 10minues. It stehn resets the variable "is_failed and "Condition 5" should start running.

But if the action "Update file properties 4" succeeds it just does the "Get file properties" action to fill a paralell branch and Condition 5 should run afterwards.


Flow Edit ViewFlow Edit View

 

 

But what I've just seen baffles me as it has worked before when I tested it.

The flow action "Condition 5" fails even if 1 of his run-after conditions is true.

 

Flow Run Log ViewFlow Run Log View

 Most likely my initial design of this exception-handler is just wrong and there is a better way to do it. I would more than likely accept a way to change this exception-handler to something different which doesn't need a 10-min-delay or even could ignore the fact that the document is locked and still updates the status.

 

Thank you very much for you help 🙂

 

Categories:
I have the same question (0)
  • Verified answer
    PieterVeenstra Profile Picture
    13 on at

    In your second screenshot the parallel actions never completes and the Condition 5 is never run. It has not failed it simply hasn't run yet. Constion 5 will not run until the parallel branches have completed.

     

    I would probably rebuild your flow to follow the try-catch pattern.

     

     

     

     

  • Verified answer
    v-yuazh-msft Profile Picture
    on at

    Hi @Anonymous,

     

    I agree with @Pieter_Veenstra's suggestion to use the Try, Catch, Finally  construction in microsoft flow.

    Also you could add the actions (Such as your Condition 5) both under the "Get file properties" and "Get file properties 7" action.

     

    Best regards,

    Alice

  • Community Power Platform Member Profile Picture
    on at

    Thank you very much @Pieter_Veenstra and @v-yuazh-msft, I'm at the moment implementing this Try-Catch-Pattern, this solves my problem way smoother.

    Probably you know a way I could run the "do until" but at the same time start with "Condition 5" to prevent the delay as the update file properties is more cosmetic, it just updates the status...

    Best, Leander

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

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard