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 / Recurring tasks only w...
Power Automate
Unanswered

Recurring tasks only weekday

(0) ShareShare
ReportReport
Posted on by

Hello! 

Currently, I have setup a monthly recurrence that will populate several tasks using Planner in Teams. The recurrence triggers on the 1st of each month, but each task under it populates on a different day. To do this I used the following example formula for the start and due date under the tasks:

      addDays((utcNow(), 14)

This makes the task populate in the 15th of the month, since the flow triggers on the 1st. 

I would like to have a way for it to not populate on weekends. For example, if the 15th is a Saturday, I would want the task you populate on the 14th instead (Friday). Is this possible by adding to the current formula above? Is there a better formula all together? Please advise! 

Thank you. 

I have the same question (0)
  • Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    As recurrence triggers on the 1st of each month, there may be possibility that 1st day of the month would be weekend(Saturday or Sunday).

     

    I would suggest create an excel file and save the recurrence trigger date in one column till end date. Next create a recurrence trigger and set the interval day and compare with recurrence trigger date saved in excel with the current date. If the condition is met continue the flow else end flow.

     

    Hope this will help you.

  • Not-a-bot Profile Picture
    6 on at

    You could have it test what day is 14 days away, then yes/no fork to a day equals Monday-Friday do the thing for that day, day not equals Monday-Friday fork again, day equals Saturday do the thing for -1 day (Friday), day not equals Saturday (must be Sunday) do the thing -2 days (Friday) or +1 day (Monday).

    Could get a bit long with forking if you have a single flow doing this for many tasks, but should give you a programmatical way of using this Flow no matter what year it is and what days the dates fall upon.

  • _Ken Profile Picture
    120 on at

    Several ways to achieve this using dayOfWeek() to test your date.
    Note: 0=Sunday, 1=Monday....., 6=Saturday


    You could build this into a nested if statement, but a simpler graphical method is to use a Switch action.

    Simply initialise a string variable with your calculated date

    Test if dayOfWeek() is 0 or 6

    Then set the variable accordingly

    Sample below calculates next Monday, so add days -1 or -2 if you need the Friday instead

    The Default switch does nothing, so you retain the date set when variable is initialised.

     

    _Ken_0-1672886741409.png

     

    Hope this makes sense.

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
Haque Profile Picture

Haque 286

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard