Hi all
I have data that comes through including dates, to date if a date eq 1900-01-01T00:00:00Z I have been replacing it with null with the following formula:
if(equals(item()?['ni_crq_f__c'],'1900-01-01T00:00:00Z'),null,item()?['ni_crq_f__c'])
This has stopped working and errors:
OpenApiOperationParameterTypeConversionFailedThe 'inputs.parameters' of workflow operation 'Update_item' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/field_9' is required to be of type 'String/date'. The runtime value '""' to be converted doesn't have the expected format 'String/date'.
I have tried replacing null with 'null' as follows: if(equals(item()?['ni_crq_f__c'],'1900-01-01T00:00:00Z'),'null',item()?['ni_crq_f__c'])
but get this error:
OpenApiOperationParameterTypeConversionFailed. The 'inputs.parameters' of workflow operation 'Update_item' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/field_9' is required to be of type 'String/date'. The runtime value '""' to be converted doesn't have the expected format 'String/date'.
also tried replacing null with '' but this then writes blank data to all cells regardless of the date
Is there a bug with MS on this atm?