I am trying to create a select action that filters out items from Get Items previous to today's date, but the flow fails on Null values.
Here is the function I have in the Map: less(item()?['SignOutDateTime'], formatdatetime(utcNow('yyy-MM-dd')))
Error: InvalidTemplate. The execution of template action 'Select_2' failed: The evaluation of 'query' action 'where' expression '{ "@item()?['SignOutDateTime']": "@less(item()?['SignOutDateTime'], formatdatetime(utcNow('yyy-MM-dd')))" }' failed: 'Unable to evaluate template language expression '@item()?['SignOutDateTime']' as JSON property name: the expression value of type 'Null' could not be used as property name.'.
I need to filter for not null and older than today.