I have a variable list which has the following structure,
{
"variables": {
"tasks": {
"value": [
{
"taskName": { "value": "A", "type":"String" }
},
{
"taskName": { "value": "B", "type":"String" }
}
]
}
}
}
which creates the object of type
“valueInfo”: {
“objectTypeName”: “java.util.ArrayList”,
“serializationDataFormat”: “application/x-java-serialized-object”
}
when a task is created using multi Instance subprocess, on tasks collection, it creates two tasks having local variables of type object with key taskName and value “A” and “B” of type “java.util.LinkedHashMap” respectively.
If I try getting the value using execution.getVariableLocal(“taskName”);, I get null instead of “A”, is this because the object is serialized? or is there any other way to fetch this variable value?
Thanks in advance.