Error Update Variable Case API

1
0
-1

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?

1 answer

1
0
-1

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/ed0cdd810c6800546a6c168...

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

Notifications