I have a flow pulling sharepoint data and the if-empty always returns null, even when there is a value. What am I doing wrong?
if(empty(items('Apply_to_each_-_Sharepoint_Data')?['Closed Time']),null,formatDateTime(items('Apply_to_each_-_Sharepoint_Data')?['Closed Time'],'yyyy-MM-dd HH:mm:ss'))