AnsweredAssumed Answered

Task event not firing when calling performing task claim operation

Question asked by ganeshr on Apr 22, 2014
Latest reply on Apr 25, 2014 by ganeshr
I have a timer boundary event in our business process. Service task will be invoked when timer job fires. In this service task I'm invoking taskservice.claim method to set the assignee for the task. Task assignee is getting changed with userid but the task event(assignment) is not getting fired.

Whereas for the same human task when invoked through rest service to claim the task, task event is getting fired.

Not able to figure out why the events are not getting fired when calling the claim operation from service task. In service task, got the task service using the following statement.
TaskService taskService = execution.getEngineServices().getTaskService();
taskService .claim(taskId,userid);  this statement is getting executed but event not firing.

Outcomes