Skip to main content
Community site session details

Community site session details

Session Id : X+lZmYnpUSmLMlYvpSS42M
Power Automate - Building Flows
Unanswered

Stuck: Flow that creates recurring calendar entries based on 1st occurrence date.

Like (0) ShareShare
ReportReport
Posted on 28 Jun 2024 15:00:26 by

Hello!

 

I have a SharePoint Automate problem that I just can’t figure out how to solve. I have been working on it for days and I am at a loss! I am hoping you can help.

I have 2 lists that I am working from: a Meeting List and a Meeting Calendar List.

The Meeting List contains the list of meeting names, how often they occur, the first occurrence date, etc:

erooot_4-1719582300139.png

 

The Meeting Calendar List has entries that are entirely generated from a Power Automate Flow which is based off of the info provided in the Meeting list mentioned above.

 

When a new meeting series is entered in the Meeting List, it needs to generate a year’s worth of recurring meeting entries in the Meeting Calendar List.

The problem is that the recurring entries are not just simply monthly or biweekly, so I cannot add 1 month, or 2 weeks to the prior meeting to get the next calendar entry date. They are specific days of the week, for example:

 

MONTHLY - 1st Monday of every month

BIWEEKLY - 2nd and 4th Tuesdays of the month

 

I think I need to create an “Initialize Variable” for each scenario but can’t figure out how to create them for the correct days. I think the closest I have gotten for the meetings that occur on the 1st Monday of every month is this:

 

addDays(formatDateTime(addToTime(variables('Month0'), 1), 'yyyy-MM-01'), mod(sub(8, dayOfWeek(formatDateTime(addToTime(variables('Month0'), 1), 'yyyy-MM-01'))), 7))

 

erooot_2-1719582224709.jpeg

 

But that does not work. (It is based off of Month0, which is the first meeting occurrence).

Here is the message I am getting and because I am not very experienced with creating flows, I am not understanding how to fix

 

erooot_3-1719582224712.jpeg

Do you know how I can edit this expression so that it will work?

 

Thank you!

 

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete