I have a flow which is attached to an excel spreadsheet in a teams environment. I want to create a flow so that on a schedule, all those people with expiring training dates are emailed. I know that there is no function in flow similar to datediff, therefore I have created two extra columns to do the calculations. Each column shows me the difference in dates in days. Whole number.
The flow is created to assess each row and send emails to those where the datediff is less than 1.
However when I run the flow I get errors:
Unable to process template language expressions for action 'Condition' at line '1' and column '15629': 'The template language function 'less' expects two parameter of matching types. The function was invoked with values of type 'String' and 'Integer' that do not match.'.