Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Passing null date values from excel to SP list

I'm using flow to import an excel table that has some null values in a date column. If values are null, I get the following error:

The 'inputs.parameters' of workflow operation 'Create_item' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/ConversationCompletedDate' is required to be of type 'String/date'. The runtime value '""' to be converted doesn't have the expected format 'String/date'.


I'm not sure how to test for null date values.



I have now edited the create Item with the following code


which works! but I wanted to leave the date blank if it was null. I tried using Coalese but could not get that to work, that would give me the same answer.

So I tried the following and it worked;


if(empty(items('Apply_to_each')?['Assigned Date']),null,formatdatetime(items('Apply_to_each')?['Assigned Date'],'MM/dd/yyyy'))




Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,171)