AnsweredAssumed Answered

Task without Process

Question asked by frankee787 on Sep 7, 2011
Latest reply on Sep 7, 2011 by frankee787
As per the javadoc


[b]newTask[/b]

Task newTask()
Creates a new task that is not related to any process instance. The returned task is transient and must be saved with saveTask(Task) 'manually'.

Is there a means to retrieve ONLY tasks not associated with any process?

I tried

taskService.createTaskQuery().processInstanceId(null).taskAssignee(userId)
taskService.createTaskQuery().processInstanceId("").taskAssignee(userId)

but neither of them seem to work for me.

Outcomes