web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Answered

Adding a delay

(0) ShareShare
ReportReport
Posted on by 145

Hi all,

I wanted to check with you all to ensure my syntax was still correct in my approval flow. I have an approval flow that gets all the approvals and then 30 days after the last approval comes through it sends an email to the creator letting them know the item is now 30 days old and must be removed. This is the trigger I am using:

(addDays(utcNow(), 30)

 

Is this still correct? I think it is failing that is why I ask.

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @kmason:

     

    I believe the issue you are experiencing is due to the fact that a Flow can only run for 30 days.   After 30 days, the Flow stops and all outstanding approvals are cancelled.

     

    Also, I believe that your expression is invalid - you need to remove the outermost set of parens:

    addDays(utcNow(), 30)

     

    If this addresses your issue, please mark your post as Solved.

     

    Scott

  • v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @kmason,

     

    Could you please share more details about the error message when the flow run failed?

    Please share more details so we would try to provide a proper workaround for you.

     

    Best regards,

    Alice

  • Verified answer
    kmason Profile Picture
    145 on at

    Thanks @ScottShearer I changed my delay to 28 days so hopefully that will fix the 30 day issue. I also typed the syntax wrong I didn't have those extra parens in there. I'm going to mark this as closed and see if this takes care of the problem.

     

    Thank you!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard