Error Update Variable Case API

Hi.

Im Trying to update a variable of type "java.util.list" in a case through the API, and i receive the following error.
Canno't create converter for class name : java.util.List
The documentation indicates the supported types, and java.util.list is not included. How can I perform the update in this case?

Hi ljlunan_1418219,

I confirm getting the same error. 

And this is explained by the code of current implementation: https://github.com/bonitasoft/bonita-engine/blob/ed0cdd810c6800546a6c168d098328f1676fada4/bpm/bonita-web-server/src/main/java/org/bonitasoft/web/rest/server/datastore/bpm/cases/CaseVariableDatastore.java#L85

The converter is able to understand only the listed supported types and List or Collection are not on it: https://github.com/bonitasoft/bonita-engine/blob/ed0cdd810c6800546a6c168d098328f16[…]web/rest/server/framework/utils/converter/ConverterFactory.java

As a conclusion, as of today, updating a variable of type List is not supported by the platform (neither by Bonita REST API nor the Bonita Administrator Application).

Hope this answers your question,

-Thalía