Hi,
When I use elastic search with query something like bellow localhost:9200/zeebe-record-job/_search?pretty, I am getting records but there are no variables for the user task. The variable fields are empty
“value”: {
“type”: “io.camunda.zeebe:userTask”,
“errorMessage”: “”,
“processInstanceKey”: 2251799814642687,
“retries”: 1,
“retryBackoff”: 0,
“bpmnProcessId”: “Process_1b3g0kl”,
“variables”: {},
“processDefinitionKey”: 2251799814642654,
“elementInstanceKey”: 2251799814642705,
“recurringTime”: -1,
“processDefinitionVersion”: 3,
“elementId”: “Activity_1kaiptk”,
“customHeaders”: {},
“deadline”: -1,
“errorCode”: “”,
“worker”: “”
},
I need to get the variable data. I am using Camunda process from an UI app. The UI app first starts the process and process sends some data back to UI and waits for the response using a human task (user task). I need to get the user task at which the process is waiting and its variables.