Hi,
I've been stuck for awhile now and the different solutions dons't seems to work for me.
I have a "Date and Time" column in SharePoint:
And when it's approved or denied the result looks like this:
(The time "02:00" is something that I don't set. The code for the input is:
utcNow('MM/dd/yyyy')
)
I want to add the actual time in 24h format but I only get this error:
OpenApiOperationParameterTypeConversionFailed. The 'inputs.parameters' of workflow operation 'ESM_-_Update_item:_Approved' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/ApprovalDate' is required to be of type 'String/date-time'. The runtime value '"27-05-2020T16:04:56"' to be converted doesn't have the expected format 'String/date-time'.
I have tried these expressions:
convertTimeZone(utcNow(),'UTC','W. Europe Standard Time','dd-MM-yyyyTHH:hh:mm')
convertTimeZone(utcNow(),'UTC','W. Europe Standard Time','dd/MM/yyyyTHH:hh:mm')
utcNow('dd-MM-yyyyTHH:hh:mm')
utcNow('dd/MM/yyyyTHH:hh:mm')
Anyone have any idé?
Thank you!