Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

schedule flow from monday to friday 9am to 5m

(0) ShareShare
ReportReport
Posted on by 10

my flow gets data every minute from an api and create item in sharepoint. My requirement is to run the flow schedule from monday to friday 9am to 5m. Is it possible, appreciate your help. 

  • Verified answer
    Expiscornovus Profile Picture
    31,639 Most Valuable Professional on at
    Re: schedule flow from monday to friday 9am to 5m

    Hi @dkr2030,


    I would add an trigger condition expression in the settings of your recurrence action. In that expression you can check if the hour is greater than or equal to 9 or less than or equal to 17 (I am using the 24 clock format HH). In that same expression you can check the day of the week by using the dayofWeek function.

     

    Below is an example of that expression:

    @and(and(and(greaterOrEquals(int(utcNow('HH')), 9), lessOrEquals(int(utcNow('HH')),17)),greaterorEquals(int(dayOfWeek(utcNow())), 1)),lessOrEquals(int(dayOfWeek(utcNow())),5))

     

    triggerconditionexpression_dayofweek_hours.png

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,620 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,962 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow