Hiya Geniuses
I'm still working on improving my leavers flow and want to send an approval task to a few areas of the organisation when someone leaves.
I'm setting the leaver date in a one Drive Excel sheet (formatdatetime(utcnow(),'yyyy-MM-dd')).
I'm then setting up a recurring time check to see if that date matches todays date, in which can do the trigger to send the approval tasks That is where I'm failing. I'm pretty sure it's because I'm doing something dumb with Excel formats. I've checked the forums and have tried these that seemed to work for other people (but not me!):
1) Using list Rows present in a table, filtering by todays date (filter query = LeftDate eq formatdatetime(utcnow(),'yyyy-MM-dd') but I get an error that only only eq, ne etc is allowed.
2) Adding in a filter array that compares LeftDate equals formatdatetime(utcnow(),'yyyy-MM-dd') - that said the dates had to be in ISO8601 format
3) Updated the List Rows to have date format of ISO8601 - still fails.
4) In the filter array iupdated the LeftDate format to be the same format (formatDateTime(item()?['DateLeft'], 'yyyy-MM-dd') is equal to formatdatetime(utcnow(),'yyyy-MM-dd') - still fails with non ISO8601 format.
Im so sure theres just a simple comparison to the original excel filter that I'm just missing. Does anyone have any bright ideas?
Thanks so much in advance.
Mark