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.
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))
WarrenBelz
146,620
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,962
Most Valuable Professional