Hi,
I upgraded camunda to 8.5.0, I tried to use Rest Api to operate User Task, I encountered a problem, hope to help me solve it.
request:
curl --location --request DELETE 'http://localhost:8088/v1/user-tasks/2251799822071566/assignee'
response:
{
"type": "about:blank",
"title": "NOT_FOUND",
"status": 404,
"detail": "Command 'ASSIGN' rejected with code 'NOT_FOUND': Expected to assign user task with key '2251799822071566', but no such user task was found",
"instance": "/v1/user-tasks/2251799822071566/assignee"
}
elasticsearch tasklist-task-8.5.0_
{
"id": "2251799822071566",
"tenantId": "<default>",
"key": 2251799822071566,
"partitionId": 1,
"bpmnProcessId": "Ticket.Test",
"processDefinitionId": "2251799814257580",
"flowNodeBpmnId": "ticketHandling",
"flowNodeInstanceId": "2251799822071156",
"processInstanceId": "2251799822071152",
"creationTime": "2024-05-29T02:41:44.217+0000",
"completionTime": null,
"state": "CREATED",
"assignee": "1",
"candidateGroups": null,
"candidateUsers": null,
"formKey": null,
"formId": null,
"formVersion": null,
"isFormEmbedded": null,
"followUpDate": null,
"dueDate": null,
"implementation": "JOB_WORKER"
}