Greetings,
We are trying with Camunda - tomcat - 7.14 version, as part of that we are facing a scenario where in bpmn business process diagram , having a single user task with a variable name - empid and a value set as “emp123” of type string. Upon creation of an instance/task we are able to see the variable value “emp123” in cockpit or in tasklist - local variable. But the same is not returned in REST api response. Below is the api we are using and it give null response.
GET:http://localhost:8080/engine-rest/task/da98ea71-64a8-11eb-8550-645d86b415d1/localVariables
Response:{}
Attached is bpmn diagram.
diagram2.bpmn (2.3 KB)
Please advise what are we missing.
Thanks
Rathina