Hi everyone,
The flow I'm trying to create should be pretty simple but something is missing.
I have a Microsoft list with few rows - Title and Expired on.
Title is text type and Expired on is date and time type.
Each row contains a title of a software, and license expired date.
The idea is that once a day, the flow runs and checks whether the expired date is in the coming 40 days or less.
If it is, send an email to remind me to renew license.
That's what I did -

The expression I used in the Filter query is -
Expired on 'formatDateTime(addDays(utcNow(), 40), 'yyyy-MM-dd')'
I'm probably doing something wrong because I get an error when trying to test it.

Could you guys help me out?
Thanks!