Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Issue with building flow for finding the last Friday of the month for a recurrence flow

I'm building a flow starting with a recurrence once a month, but I want it to run on the last Friday of every month.


I've set up the flow as below but I'm getting this error message: Flow save failed with code 'InvalidTemplate' and message 'The template validation failed: 'Template language expression cannot be evaluated: the default fired trigger is not defined at current scope. '.'.


The actions I'm using in condition are:


Screenshot 2022-05-09 212139.png
Memorable Member
Memorable Member


This dates video may help:


And if this only runs once a month, it’s not going to trigger when you want it as 1 month later may not be the last Friday of the month.


Try using a weekly recurrence set to only run on Fridays. 
Then create a trigger condition to check whether it is the last Friday or the 4th Friday of the month.

Frequent Visitor

Thank you for pointing this out. What is the best expression to use to 'Then create a trigger condition to check whether it is the last Friday or the 4th Friday of the month.'?

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,914)