cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jasper1234
Helper II
Helper II

Flow - Forms to sharepoint / create new item -> Date problem

Hi,

i have a strange issue all of the sudden. I have a form for externals to submit planning details and dates (date picker) for projects. Upon a new submitted form, a flow is triggered to create a new item in a sharepoint list (regular date/time columns). 

It worked well, no issues. 

 

Then i had to force a logout and password change for my admin user and now all of the sudden the flow fails for below reason:

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

 

So apparently there is a time format issue, coming out of nowhere. It was fine before and worked, i didnt change anything in this sense. 

 

Any idea? i mean afterall if i have a forms date picker and the sharepoint list columns are date/time as well. I want to assume no matter in which format, these two microsoft tools should speak the same language and the format should only be a kind of "display" option. No matter the input, both tools should know the date and be able to display it in whatever format, even if its different, right?! 

 

its a bit strange, but maybe someone has an idea what caused this?

 

thanks

1 ACCEPTED SOLUTION

Accepted Solutions
RobElliott
Super User
Super User

@Jasper1234 it looks like the date was empty because the error message is the runtime value '""'.....

View solution in original post

3 REPLIES 3
RobElliott
Super User
Super User

@Jasper1234 it looks like the date was empty because the error message is the runtime value '""'.....

View solution in original post

@RobElliott thanks. I just noticed the raw data delivers a "" if the date field was left empty in the form. And apparently this is not convertable to a date for the flow. makes sense. 

But how do i avoid this issue? not every date picker field in the form is required, some will always be empty. also for the sharepoint lists these date columns are not required. 

 

no idea from which side to appraoch this, but i want to say microsoft forms is quite limited in options and i cant change how the data comes in. Do i need to change something in the flow, or do i need to change it in the sharepoint list itself?

 

ms_flow
Regular Visitor

@Jasper1234  I am also facing the same issue . Did you find any solution for this ? This will be of great help.

Appreciate any suggestion/pointers 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,550)