Hello All
When we have updated the task with API, API deletes the due date and name.
before update task
[
{
"id": "4253c190-58db-11ec-9f86-acde48001122",
"name": "asdasd",
"created": "2021-12-09T10:32:07.551Z",
"due": "2021-12-14T10:32:07.475Z",
"delegationState": "PENDING",
"executionId": "42532545-58db-11ec-9f86-acde48001122",
"processDefinitionId": "asd:43:efb7d692-58da-11ec-9f86-acde48001122",
"priority": 0,
"processInstanceId": "3a473543-58db-11ec-9f86-acde48001122",
"taskDefinitionKey": "asd_Form",
"suspended": false
}
]
after update task
[
{
"id": "4253c190-58db-11ec-9f86-acde48001122",
"created": "2021-12-09T10:32:07.551Z",
"delegationState": "PENDING",
"executionId": "42532545-58db-11ec-9f86-acde48001122",
"processDefinitionId": "asd:43:efb7d692-58da-11ec-9f86-acde48001122",
"priority": 1,
"processInstanceId": "3a473543-58db-11ec-9f86-acde48001122",
"taskDefinitionKey": "asd_Form",
"suspended": false
}
]
I just want to change the priority of the task.
that’s my request for update.
{
"priority": 1
}
and also I am following this ur. Update a Task | docs.camunda.org