Hello community,
I am building a monthly reminder system using a sharepoint list and powerautomate.
The list in sharepoint contains columns:
- Message Subject
- Message Body
- Day of week to send (Monday, Tuesday, etc.)
- Occurrence of day to send (1, 2, 3, 4)
The flow will be configured to run daily and if the current day matches the logic of "day of week" and "Occurrence of day" the condition will evaluate to True and the list item will be emailed.
I am able to get the day name using
string(formatDateTime(body('Convert_time_zone'),'dddd'))
and match with this

(still refining this)
I have been unable to find a way to get the occurrence of the day in the month. Such as 1st Monday or 3rd Tuesday.
Is it possible to get the occurrence of the day in the current month like this?