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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,954)