cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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 @Anonymous,

 

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 @Anonymous,

 

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.

Anonymous
Not applicable

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 @Anonymous,

 

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.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (5,057)