Is is possible to update multiple fields of a CDT using the a!update()? The documentation shows that you can for a regular array, but with the CDT examples shown, it only updates one field at a time. When I test it out in an expression, it throws an error. I just want to check that I'm not missing anything here.
e.g.
a!update( data: ri!submission, index: {"StatusID", "SubmissionTypeID"}, value: {1, 2} )
error thrown: Expression evaluation error at function a!update: Invalid index: cannot index multiple indices of type List of Text String into type CRA_T_Submission
Discussion posts and replies are publicly visible
This is a known bug with updating dictionaries and CDTs with a!update(). This will work as expected for maps and record data types. We are working to fix the issue, but I don't have a timeline for the fix right now.