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

Community site session details

Session Id : yT6ow9j9M/pUAlKRFA86Rl
Power Automate - Building Flows
Answered

Trigger flow on the third & fourth Friday of the Month & the coming Friday

Like (0) ShareShare
ReportReport
Posted on 26 Apr 2021 08:15:28 by 10

Hi there, I have a job task where I need to send THREE email reminder to my colleagues.

1. The first one is to be sent on the third Friday of the month.

2. The second one is to be sent on the fourth Friday of the month.

3. The final email reminder is to be sent on the next Friday. (in this case, it could be the last Friday of the month, or the first Friday of the next month, depending on the calendar)

 

For example, in April 2021, the reminders should be scheduled at 16th, 23th, and 30th of April

In May 2021, it should be 21st and 28th of May, and 7th of June.

In June 2021, it should be 18th and 25th of June, and 2nd July.

 

How should I code in Flow to schedule this?

 

Many thanks for your help!!!

I have the same question (0)
  • Expiscornovus Profile Picture
    32,563 Most Valuable Professional on 26 Apr 2021 at 11:40:52
    Re: Trigger flow on the third & fourth Friday of the Month & the coming Friday

    Hi @Wong_MR,


    I would say this should be possible if you would use the once a month schedule and then some delay actions.

     

    schedule.png

     

    Hope this helps a bit?

  • Wong_MR Profile Picture
    10 on 27 Apr 2021 at 01:47:03
    Re: Trigger flow on the third & fourth Friday of the Month & the coming Friday

    Hi Expiscornovus, thank you for your reply. This look ok in April. But I am not sure if this will work in the coming months. In May 2021, could it trigger on the 21st, 28th of May, and 7th of June?

     

    I searched on the net. Shouldn't there be some use of formatDateTime(addDays(utcNow() & formatDateTime(utcNow()? (I don't know how to code it however...)

     

    Thanks

  • Verified answer
    v-litu-msft Profile Picture
    on 27 Apr 2021 at 03:03:03
    Re: Trigger flow on the third & fourth Friday of the Month & the coming Friday

    Hi @Wong_MR,

     

    The recurrence Flow should run once every month, and the difficult point is to find the first weekday of the current month. Here is a function named dayOfWeek() function, you could initialize it to get the day of week for the 1th of month, if it is 5, it means this 1th of current month is first Friday, if it is 6, add 6 days, if it is 0, add 5 days, if it is 1-4, add (5-x) days.

    I export this Flow as a zip file, you could download it and import it into your Flows, then you could test it:

    Screenshot 2021-04-27 101055.jpg

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 707 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 499 Moderator

#3
chiaraalina Profile Picture

chiaraalina 312

Last 30 days Overall leaderboard
Loading complete