Good afternoon,
I am trying to make an updatecdt of a cdt that contains a text field that is a list, for the rest of the fields it maps well but for the list field as I am trying to enter more than one value it returns the following error:
This is the cdt and the particular field
the code:
updatecdt( cdt: ri!entrada, fieldsAndValues: ( { timeStampConsulta: now(),
prueba: { local!prueba }}
)
The value of local!prueba is:
the test value at the input is empty
Can you help me please
Thank you
Discussion posts and replies are publicly visible
if you're passing in a single value for timeStampConsulta and an array for prueba, then updateCdt() would not be expected to work.
What will be solution for the same.
Good morning,
As we could not make it work with the update cdt and we did not have any more time, what we did was do the complete mapping of the cdt, in a rule, we input the cdt that we wanted to modify and in the values that did not change we map the values of the input and those that had to be modified with the new values, this worked for us.Sorry I can not help you anymore.
a greeting