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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow taking more than ...
Power Automate
Unanswered

Flow taking more than 24 hours to run

(0) ShareShare
ReportReport
Posted on by 675

Hi,

In the pic below,the flow is in running mode since more than 24 hours.

freshyshreya_0-1669746363778.png

 

I want to know the possible reason for this and the solution of how to make it run faster.

 

Please help!

Categories:
  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @freshyshreya  it looks like your flow is stuck within apply to each action, i see multiple actions within apply to each, one is update item, then send email and then the condition action. Is the item getting updated and email being sent? What is inside the condition action, can you please share?

  • freshyshreya Profile Picture
    675 on at

    Hi @annajhaveri ,

     

    Thank You for your response!

     

    Yes,the item is getting updated and then email is being sent.Sharing the inside steps of Condition 11 as asked in the previous comment.

    freshyshreya_0-1669795989617.png

    Please help me in fixing this,as there are other flows also now which is taking a longer time to run

     

    Thanks in Advance!

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @freshyshreya  so looks like your flow is getting stuck inside the condition action. You current have apply to each action inside it you have approval action and again you have apply to each action, that is lot of nesting and looping, so your flow might be getting stuck there. Are you getting the approval notification when your flow is stuck? Are you completing the approvals and still the flow is stuck? Ideally if possible i would suggest to move approval action out of the apply to each loops to get better performance of flow. If approvals are not completed, then flow will wait for the approver's decision.

  • freshyshreya Profile Picture
    675 on at

    Hi @annajhaveri ,

    Thanks for the response!

    I will take your questions one by one-

    Are you getting the approval notification when your flow is stuck?-No,I am not getting the approval notification when the flow is stuck

    Are you completing the approvals and still the flow is stuck?-Yes,after completion of one level of approvals,it's getting stuck in the next level of approvals(there are 3 levels of approvals)

     

    Thanks,

    Freshy

     

     

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @freshyshreya  i would suggest to test the flow step by step. First test the first approval and see if that completes, during this testing you can add terminate action below the first approval so that you are just testing the first approval to ensure it works as expected, then do same for second approval, and test first and second and see how that goes, as you have approvals inside apply to each testing this way will get you to root cause of the issue. Also may i know why do you have the approvals inside apply to each? This will generate multiple approvals.

  • freshyshreya Profile Picture
    675 on at

    Hi @annajhaveri ,

     

    Before making it live,I had tested it and it was working fine.

     

    It is not generating multiple approvals as in approval,first one to respond option is selected so as soon as one person responds the flow moves to the next step.But I think,definitely  he flow is stuck in one please for a very long time due to approvals being inside Apply to each loop.

     

    Please put your comments on this!

     

    Thanks,

    Freshy

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @freshyshreya  if it is not generating multiple approvals, then why it is inside apply to each? In that case please move approvals out of apply to each that will make debugging your flows lot simpler, you can use variables, and set values of variables inside apply to each and then use those variables in the approval action, I would strongly suggest to move approvals out of apply to each, if you dont need to generate multiple approvals.

  • freshyshreya Profile Picture
    675 on at

    Hi @annajhaveri ,

     

    Thanks for the response!

     

    I will definitely move the approvals out of Apply to Each but I didn't get the below sentence

    "you can use variables, and set values of variables inside apply to each and then use those variables in the approval action".

     

    Setting variables will solve what purpose? Please let me know

     

    Thanks,

    Freshy

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @freshyshreya  if you want to use the values from apply to each out of apply to each, then you can use variables to do that.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard