I have a scheduled flow that runs each night, and copies all the dates from a spreadsheet into a SP list.
The SP list columns are date/time columns.
The Excel columns are currently text strings of the right format (2020-07-01) which push fine into SP date columns.
The date fields in Excel may have dates or be blank. There are 24 odd date columns so using variables is to be avoided...
If they are blank I get the error;
OpenApiOperationParameterTypeConversionFailed. The 'inputs.parameters' of workflow operation 'Update_item' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/Planned__Date_1' is required to be of type 'String/date'. The runtime value '""' to be converted doesn't have the expected format 'String/date'.
I can format the spreadsheet columns as needed. Originally as dates, they came through as 44863 (the days since 1900 thing), so i switched them to text to simplify the logic....
When i tried to format the dates in Flow, the ever expanding Apply to Each loops Flow generated lost the relation to the data I required, so I tried variations of Compose etc. but just got more and more lost.
Can someone suggest a way forward; is my approach just wrong? In its simplest it would be a spreadsheet of:
SomeID Field | Date1 | Date2 |
1 | 15/07/2020 | 15/07/2020 |
2 | 30/08/2020 | |
3 | 01/01/2020 |
to insert into SP with matching columns (Date1 and Date2 as date/time columns). Example Flow:
Hello @mjburley
Did you find a solution or is the need still relevant?
Looking forward to hear from you 🙂
Kind regards, John
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
43 | |
17 | |
15 | |
15 | |
13 |
User | Count |
---|---|
67 | |
37 | |
27 | |
20 | |
18 |