Hi,
For the endpoint engine-rest/task I get this result:
[
{
“id”: “1a5a1386-2008-11eb-824c-04ed33e97cae”,
“name”: “temp test”,
“assignee”: null,
“created”: “2020-11-06T09:14:33.886+0100”,
“due”: null,
“followUp”: null,
“delegationState”: null,
“description”: null,
“executionId”: “1a54953b-2008-11eb-824c-04ed33e97cae”,
“owner”: null,
“parentTaskId”: null,
“priority”: 50,
“processDefinitionId”: “exampleTask:1:10ed8245-2008-11eb-824c-04ed33e97cae”,
“processInstanceId”: “1a54953b-2008-11eb-824c-04ed33e97cae”,
“taskDefinitionKey”: “Activity_1jsn08e”,
“caseExecutionId”: null,
“caseInstanceId”: null,
“caseDefinitionId”: null,
“suspended”: false,
“formKey”: null,
“tenantId”: null
}
]
but when I try to do the same in Java with this:
camunda.getTaskService().createTaskQuery().list().toString();
I get this result:
[Task[1a5a1386-2008-11eb-824c-04ed33e97cae]]
How do I get the same result as above in Java?
/Hugo