
Announcements
Date/Time value that is empty is not being detected by the expression empty().
I am trying to update and append a table from Excel to a SharePoint list using Power Automate. During this process, I am receiving an error: Input parameter is required to be of type 'String/date.' The runtime value " " to be converted does not have the expected format 'String/date.'
Therefore, I have tried to solve this issue in a variety of ways, however none seem to be working.
Am I somehow configuring the empty() expression wrong?
Thank you all for your help with this!
Hi @nboynton ,
Maybe you could try the following expression:
if(empty(trim(items('Apply_to_each')?['Pick-Up Date'])),null,items('Apply_to_each')?['Pick-Up Date'])
or
if(empty(replace(items('Apply_to_each')?['Pick-Up Date'],' ','')),null,items('Apply_to_each')?['Pick-Up Date'])
Best Regards,
Charlie Choi