i'm new flow user and i' m tryng to create a flow that sand me email if the event (sharepoint calendar) start date is greater than 15 day of current data. my condition is :
@equals(items('Apply_to_each')?(formatDateTime(['EventDate'],'YYYY-MM-dd'), formatDateTime(addDays(utcNow(), -15),'YYYY-MM-dd')))
i think is syntax problem but where is the mistake ?
thanks a lot for help
Go to Solution.
I would try with the following
@equals(formatDateTime(items('Apply_to_each')?['EventDate'],'YYYY-MM-dd'), formatDateTime(addDays(utcNow(), -15),'YYYY-MM-dd'))
Please note if you use equals it means the Event Date shall be exactly 15 days ago
Hope this helps
Proud to be a Flownaut!
View solution in original post
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.