I’m trying to create a custom UI and I’m using REST API to integrate with Camunda.
Now I have an issue with populating a multi-instance task
I send a post request to complete current task from my application to Camunda that contains following variable
{
“variables”:{
“assigneeList”:{
“type”:“Object”,
“value”:“[u1, u2, u3]”,
“valueInfo”:{
“objectTypeName”:“java.util.ArrayList”,
“serializationDataFormat”:“application/x-java-serialized-object”
}
}
}
}
the [u1,u2,u3] supposed to be a list of users that Camunda can create task per each user in next multi-instance task.
but I get an error that says
Cannot set variable with name assigneeList. Java serialization format is prohibited
How can I serialize this list to send to Camunda?