cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JColvin
Advocate I
Advocate I

Flow Approvals in Apply to Each: Odd behavior upon timeout?

I have a flow that contains a sequential approval process. Approval process is contained within an Apply to Each. Upon 30-day flow timeout, if the flow is still within the Apply to Each (waiting on an approver response), the flow does not "end" in the way expected...instead, it is completing the operations of the Apply to Each, which means it cycles through the remaining approvers, sends them approval request emails (which are invalid), and only *then* does the flow actually end. This is very confusing and irritating for end users. 

 

I don't understand how this could possibly be the intended behavior of the flow upon timeout. Has anyone experienced anything similar, or are there any quick fixes anyone can suggest?

3 REPLIES 3
v-yamao-msft
Community Support
Community Support

Hi @JColvin,

 

Could you share a screenshot of your flow to help reproduce this issue?

From your description, it seems that there are multiple approval processes within Apply to each, while the time out of the first approval process doesn’t end the flow, it is completing the other actions of the apply to each.

I have made a simple flow likes below to reproduce this issue, however, the issue you mentioned didn’t occur. Once the first approval timed out, the flow failed.

1.PNG

Please feel free post back with more details on the flow.

 

Best regards,

Mabel

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

Thanks for the response Mabel. The issue isn’t with the approval timeout, it’s with the timeout of the flow itself. So, unfortunately the only way to test it is by setting up a sequential approval in an Apply to Each, adding some additional actions (like updating SharePoint list item after approval), and waiting for 30 days to see what happens.

Hi @JColvin,

 

Could you share a screenshot of the run details?

Does the first approver give a response?

I will set up a flow according to your description and wait for 30 days for testing.

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
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 Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (2,865)