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?
Solved! Go to Solution.
@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?
Check out the News & Announcements to learn more.
Participate in the Power Virtual Agents Community Challenge
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.
DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.