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

Delay until limit and interim change

Hi, 

My scenario is that I have a sharepoint list of project milestones, each of these has a target completed date, project manager and a status field. 
I was going to use a "Delay until" action in the workflow to wait until the target date and then if the status hadn't been set to completed, email the pm. 

Two issues/questions:

1. If the target date is three months in advance would the flow fail as the 30 day limit would have been breached if so how would it be best to get around this?

 

2. If the entry has been updated after the initial workflow had been initiated (e.g. the pm goes in and moves the target date further away), the initial workflow would still be running and therefore continue to wait for the original target date. I would then need to get the item again in order to check  whether to send the email or not. Would that pick up the revised target date? 

Many thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Super User II
Super User II

Hello @Ian_C ,

I would use a scheduled flow running daily to 'Get items' where 'target date is today' and 'status is not equal to xxxx', and send an email to the PM.

Using 'Delay until' has exactly the problems you mentioned. The flow will just end after 30 days (29d 12h from my experience) and it'll ignore all updates during the wait period. Both of these problems can be solved by a scheduled daily flow.

View solution in original post

2 REPLIES 2
Super User II
Super User II

Hello @Ian_C ,

I would use a scheduled flow running daily to 'Get items' where 'target date is today' and 'status is not equal to xxxx', and send an email to the PM.

Using 'Delay until' has exactly the problems you mentioned. The flow will just end after 30 days (29d 12h from my experience) and it'll ignore all updates during the wait period. Both of these problems can be solved by a scheduled daily flow.

View solution in original post

@tom_riha 
Many thanks for your help Tom

 

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

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 (3,684)