cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Do until loop that triggers a notification every 7 days

Hello power automate community,

To start off, I have a do until loop that notifies a user every 7 days. The problem is that it only happens once. The flow is below. There are alot of complex moving parts so please question if something doesn't make sense. 

 

What the condition is running off of 

@OR(equals(variables('fileStatusSupplyChain'), 'Impacted'), equals(variables('fileStatusSupplyChain'), 'Not Impacted'))

 

Capture.JPG

 

 

3 REPLIES 3
eric-cheng
Solution Sage
Solution Sage

Hi @Anonymous ,

 

Can you click on 'Change Limits' in your Do Until action and post a screenshot.

 

I am assuming after the first 7 days, supply chain status is neither Impacted or Not Impacted?

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

Anonymous
Not applicable

Gasp3r__0-1633612857877.png

Yes that is correct. I have tested it within 5 minutes and the notifications work until they respond. Once I extend the period of time, that is when the problem occurs. 

 

eric-cheng
Solution Sage
Solution Sage

Hi @Anonymous ,

 

The issue is because you have a timeout of PT1H  and a delay of 7 days.

 

PT1H means your loop will expire (whether the condition is met or not) within 1 hour.  What you then have is a 7 day delay meaning by the end of the delay and your first loop, your loop has expired.

 

Can you answer the below question and we can provide the values you will require:

 

How often do you want to keep polling the status values to see if they are Impacted/Not Impacted?  You currently have 7 days.  Did you want to check every 10 mins?  1 hour? 1 day?

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

 

 

 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (15,560)