I have the following code:
data: Self.ConvertRecordToFields(rec, patientData, Split(rec.Status, ","))
Self.ConvertRecordToFields is a UDF in a component and defined as (Record, Record, Table({Value:""})
Error code for argument 1: Invalid argument type (Record). Expecting an UntypedObject value instead.
Error code for argument 2: Invalid argument type (Record). Expecting an UntypedObject value instead.
The function converts all the fields in Argument 1 and Argument 2 to a Table of values with type erasure. The compiler error is not in the function but at the call site of the function.
I am sending the correct record types to the function. The code worked yesterday without issue. I believe there is a compiler error.
Thanks