Hi!
I’m doing some tests with the API and I’m having trouble with the “Set assignee” call (https://docs.camunda.org/manual/7.8/reference/rest/task/post-assignee/). After calling it and finish successfully, the task is unassigned, and I have to reclaim it again.
This is the method I’m using to reassign the task:
$scope.assignTask = function(userId) {
return $http.post(Uri.appUri('engine://engine/:engine/task/' + camForm.taskId + '/assignee'), {
headers: {
'Content-Type': "application/json;charset=utf-8"
},
body: {
'userId': userId
}
});
}
Am I missing something?
Thanks,