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

Send reminder to a different person after 2 days if a approval step is not approved or rejected

Hello Guys

 

I'm just playing around with reminders and approval steps. Now I want to make, that a reminder should be sent if a approval step is not approved or rejected after 2 days.

 

I'm using atm the "Do Until" function with a delay in a pararell branch the reminder sending function works. But not as expected. If the Approval step is approved or rejected, it never ends. I think the choosed value from "Do Until" is wring.

 

Acctualy I want to build my flow like this video here but i want the delay in a "Do Until" in order that the reminder will be sent always after 2 day if there is no action from the approver. https://www.youtube.com/watch?v=whJoANRW0AI

 

How can I build that easy? 🙂

 

Flow1.JPG

 

 

 

 

 

Cheers M.

8 REPLIES 8
Dual Super User II
Dual Super User II

Hi @Mahoney 

 

use do until and variable technique 

https://flow.microsoft.com/en-us/blog/approval-reminders-using-parallel-branches/

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Super User
Super User

Hi @Mahoney , the post by @ScottShearer is awesome, and that can be enhanced to do what you want with a couple of small changes. I'll be creating a video about this enhancement shortly.

 

At the top of my Flow I am going to initialize a variable which I have called "Break" which is set to 0. I will use this to ensure that my reminder emails aren't triggered if they aren't needed.

 

I will then branch my steps exactly like you have by using a parallel branch to separate my approval logic and my reminders.

 

In the condition which responds to the approval response, I have used a "Set Variable" action to change the "Break" variable to 1 to tell me reminders that they no longer need to fire.

 

In the reminders branch, I have got a do until, where it will loop until Break is equal to 1. Within that loop I have a delay (of 1 minute for my testing), a condition to check the value of Break to ensure that it doesn't send an email after the approval has been completed, and a send email notification action.

 

FlowApprovals1.PNGFlowApprovals2.PNG

 

 





Did my reply help? Please give it a thumbs up.
Did I answer your question? Please mark my post as a solution!
If you liked my response, please consider giving it a thumbs up. THANKS!


Proud to be a Flownaut!





Community Leader: Black Country PowerApps & Flow User Group

Hi @MattWeston365 

 

Thnaks for your feedback. I understand what you mean and I just made a test with my flow.

The variable (string) is set to 0 at start and after approval or reject set to 1. So that works correctly. The Problem is, that the until do function keeps running and running and sending reminder mails. I build the flow exactly like your picture. 

Is there a error in my flow or what? 🙂

 

Cheers M.

Hi @Mahoney, does it send multiple reminder emails or just one?

 

Can you post an up to date screenshot of your Flow please? I'll see if I can then spot why it's not quite behaving as you want.





Did my reply help? Please give it a thumbs up.
Did I answer your question? Please mark my post as a solution!
If you liked my response, please consider giving it a thumbs up. THANKS!


Proud to be a Flownaut!





Community Leader: Black Country PowerApps & Flow User Group

Hello @MattWeston365 

 

Sure, here is my current flow.

 

Thanks,

M.

 

Flow5.png

Hi @Mahoney I've spent ages looking at your Flow and at the moment I can't see what the difference is between yours and mine.

 

When you run your Flow, are you still getting emails every 20 seconds after it has been approved or are you just seeing it once?





Did my reply help? Please give it a thumbs up.
Did I answer your question? Please mark my post as a solution!
If you liked my response, please consider giving it a thumbs up. THANKS!


Proud to be a Flownaut!





Community Leader: Black Country PowerApps & Flow User Group

Hi @MattWeston365 

 

Thanks for your answer.

Yes right, if I run the flow i will getting reminder mails every 20 seconds after a flow is approved or rejected. :((

HI @Mahoney I've reduced my recurrence time to 20 seconds to match yours, but I'm still not seeing the behaviour you've described. I've exported my Flow for you to try and import to see if you get a different behaviour when running it.





Did my reply help? Please give it a thumbs up.
Did I answer your question? Please mark my post as a solution!
If you liked my response, please consider giving it a thumbs up. THANKS!


Proud to be a Flownaut!





Community Leader: Black Country PowerApps & Flow User Group

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

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!

Top Solution Authors
Top Kudoed Authors
Users online (11,829)