cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tomgardzinski
Helper IV
Helper IV

Flows running and not completing

Hello,

I'm wondering if there is any root cause or help with regards to flows that run, keep running and never complete? I pushed a survey out to users today (approx 1400 people). So far I've had 3 or 4 entries that run that don't complete. I've had to cancel them and resubmit. Any ideas?

 
1 ACCEPTED SOLUTION

Accepted Solutions

Hi @tomgardzinski,

 

You could create a branch to create a delay action, set it to a time you want to cancel the Flow. If the Get items runs over 5 minutes, cancel the Flow:

Annotation 2020-06-12 165453.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-litu-msft
Community Support
Community Support

Hi @tomgardzinski,

 

Could you please share screenshots of your Flow configuration?

Is it any loop in the Flow?

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

here are the runs and part of the flow. The flows that I canceled were the ones that continued to run. It all happened within that hour. I haven't had a problem since I canceled, resubmitted successfully. That being the case, is there a way you can stop a flow after it running for X amount of time, cancel it and resubmit?
It was getting hung up or stopping on the Condition block, where I evaluate if there is a value or not in the Get Items. length(body('Get_items')?['value']) = 0

flow not completing2.PNGflow not completing3.PNG

Hi @tomgardzinski,

 

You could create a branch to create a delay action, set it to a time you want to cancel the Flow. If the Get items runs over 5 minutes, cancel the Flow:

Annotation 2020-06-12 165453.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,234)