cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Why is my flow failing, even with a manual timeout of 29 days being set on my first of two approvals?

Hi, I'm new to using Power Automate. My organization uses this particular flow to track the approvals of 5 different teams. Not all 5 teams necessarily respond within the 30 day timeout limit, so I revised the flow to incorporate a double-approval process since I read that this could be a work around. I thought this would extend the timeout limit to 60 days, but it seems to be causing more issues and isn't working as intended.

 

The first approval for each team runs properly. The timeout duration is set to 'P29D'. The second approval is set to run after the first approval has timed out, but it isn't getting to that point. The entire flow has been failing at 29 days and 12 hours of running. Why isn't my second approval being executed and allowing an additional 29 days to respond?


flow_issue1.PNG
The error message I receieve is that my 'apply to each 7' failed, however 'condition 8' should only run once the second approval has timed out. Both approval one and approval two are set for a P29D timeout duration. The second approval only runs for a few seconds shown below.

 

flow_issue2.PNG

1 REPLY 1
Super User II
Super User II

Hi @vmyacono 

 

I don't think the issue you're getting is related to the approval but with the "Apply to each 7". The error message is indicating that the value is null and not a valid array. That's why the whole process fails.

 

Can you please check what's being passed to the "Apply to each 7"?

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (36,081)