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 Platform Community / Forums / Power Automate / Trigger condition for ...
Power Automate
Suggested Answer

Trigger condition for Recurring schedule

(2) ShareShare
ReportReport
Posted on by 99
Hi Team,
 
I would like to know if we can give a trigger condition to a recurring scheduler trigger in such a way that the scheduler will not be triggered between 3 AM IST and 4 AM IST.
I tried with the trigger condition mentioned below but it didn't work.
 
@not(and(greaterOrEquals(formatDateTime(addHours(utcNow(), 5.5), 'HH:mm'), '03:00'), less(formatDateTime(addHours(utcNow(), 5.5), 'HH:mm'), '04:00')))
 
In fact the scheduler failed to even trigger after I saved this condition. I had to remove the condition for the trigger to work again. It is running fine with a 3 minute frequency but I am trying to utilize the 'trigger condition' option to give a downtime between 3 AM and 4 AM so that remote server restart can be done in that period. 
If you have alternate suggestions, please let me know on the same.
 
 
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    15,348 Super User 2026 Season 2 on at
    I don't think your expression is valid, but I would just configure it in the action as follows:
  • Suggested answer
    trice602 Profile Picture
    16,516 Super User 2026 Season 2 on at
    Hi,
     
    Yeah it looks like that trigger will not work and in lieu of trying to rebuild it, since you only have a one hour period you don't want it to run, it may be easier and more efficient to just add a condition after the trigger and it may look like this:
     
    Current time action or converted time zone
     
    Condition: (example:  any current time at 19)
     
     
     
     
     
    So you may end up with a few more runs that reach the conditional action that is not true (and the no side has a terminate action) but unless you are running thousands of runs in a single hour, the extra runs are essentially invisible.  Works in testing.
     
     
    ------------------------------------------------


    If this was helpful, please like and/or mark as a verified answer to help others find this too!


    Always glad to help! 💯💯💯💯💯

    Tom 

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

     

     
     
  • trice602 Profile Picture
    16,516 Super User 2026 Season 2 on at
    Hey there!
     
    I am following up on this post trigger condition for recurring schedule in this category general discussion from 08/29/2024.  I know the post is a little older, but it is a common question here so wanted to take a moment and follow-up. I see there have been 2 replies and 2 likes and asking if your question has been answered.  If so, please help the community out by completing one or more of the following actions!  Thanks in advance!
     
    Easy as 1-2-3 ‼️💯⭐😎🆒🙏
     
    1) Mark a reply as a verified answer - this is essential, and it helps others with the same general question find this thread. ✅
    2) You can also mark one of more replies as a verified answer.  Please take a moment and give the author credit for volunteering their time. ✌️
    3) Like one or more replies.  Kudos always greatly appreciated! 👍
     
    Pro tip:  if you found your own solution or workaround, feel free to add a reply to your own post and mark it as the solution too!  The goal is to get this thread marked with a verified answer by anyone that finds one or more replies helpful!
     
    Again, thanks in advance for reading and responding, always glad to help!  Tom 💯💯💯💯💯
  • trice602 Profile Picture
    16,516 Super User 2026 Season 2 on at
    If I can help with anything else please let me know or tag me in a future post, I enjoy reading and answering questions.  Always glad to help!  Tom 💯💯💯💯💯

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 293 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 186 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 144 Super User 2026 Season 2

Last 30 days Overall leaderboard