I have flow that triggers when a form is submitted. Before saving the form data I need to lookup the employee ID using the Last Name and Date of Birth fields. I can make this work for other columns but not for the Date of Birth. On my SQL server Date of birth is stored as 1972-02-21 00:00:00.000. I can't figure out how to format the date from the form to match correctly.
This query works fine in SQL
Select * From Table
Where FLDLNAME = 'Smith' And FLDBDATE = '1972-2-21'
FLDBDATE in SQL is datetime.
Translated into Flow, even hardcoded will not pull any data when I use the FLDBDATE column. I've tried formatting the date with FormatDateTime, I can see that it formats correctly when it runs but nothing will make it pull the record. Any help greatly appreciated. Thanks.
