Announcements
Hi,
In the pic below,the flow is in running mode since more than 24 hours.
I want to know the possible reason for this and the solution of how to make it run faster.
Please help!
@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?
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.
Please help me in fixing this,as there are other flows also now which is taking a longer time to run
Thanks in Advance!
@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.
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
@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.
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!
@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.
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
@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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 302 Super User 2026 Season 2
Mohsin Ali 263
Henil 115