AnsweredAssumed Answered

Taks list

Question asked by alfa on Sep 14, 2011
Latest reply on Sep 14, 2011 by sangv
How obtain all tasks in a process for list when process is instanciate?

By example, my process "Test" desing is:
I instanciated the process:

String procId = runtimeService.startProcessInstanceByKey("Test").getId();

I can obtain the list tasks actives:

List<Task> tasks = taskService.createTaskQuery().processDefinitionKey("Prorroga").list();

but, How I can obtain all pendings tasks my process "Test"?