Hello,
I'm trying to build a survey where if a participant's appointment date is today, Power Automate sends our team a certain message. However, I'm having trouble with the logic condition. I keep receiving this error message in regards to my condition branch "Unable to process template language expressions for action 'Condition' at line '0' and column '0': 'The template language function 'formatDateTime' expects its first parameter to be of type string. The provided value is of type 'Null'. "
My expressions are below, does anyone see any issues with them?
Sincerely,
kbredden
formatDateTime(utcNow(), 'yyyy-MM-dd hh:mm tt')
formatDateTime(triggerBody()?['Next_Timeline_Date'], 'yyyy-MM-dd hh:mm tt')