AnsweredAssumed Answered

taskService.createTaskQuery().taskId(taskId) return NULL

Question asked by haynas on Feb 4, 2016
Latest reply on Feb 8, 2016 by haynas
Hello Folks,


I'm using a taskService.createTaskQuery().taskId(taskId) to get the task with the specified taskId it works sometimes but the most of the time it returns NULL.

in my code i'm using also taskService.createTaskQuery().processInstanceId(processInst.getId()).list();  and it works perfectly after setting "async" property to false.

Any help will be appreciated.


Outcomes