Hi team,
After banging my head to desk for a few hours I'm now seeking expert help. I am creating a flow to run daily to email job vacancies that expire on the current day. Having worked with databases for years I know the got ya on dates and datetimes. So my list has two fields at the moment, Title and TriggerValue. TriggerValue is a date only field. I have my recurrance container, then a getitmes (as there could be 0 or more in the list that I need to get) container. In the GetItems I have the site and the list name. I then want to add a filter to say only when triggervalue = today.
This is what I have tried (plus a variety of other formats)
formatDateTime(item()?['triggervalue'], 'dd-mm-yyyy') eq formatDateTime(utcnow(),'dd-mm-yyyy')
and @equals(@formatDateTime(item()?['triggervalue'], 'dd-mm-yyyy'), @formatDateTime(utcnow(),'dd-mm-yyyy'))
and @formatDateTime(item()?['triggervalue'], 'dd-mm-yyyy') eq @formatDateTime(utcnow(),'dd-mm-yyyy')
Please help me get a date filter into the GetItems and then I can finish testing the flow to see that the email is sent as expected