JBoss Community

how to get the taskId in "candidate-groups" sicenario?

created by stree jang in jBPM - View the full discussion

I made a simple test process, and one task with the [candidate-groups="market"]

suppose there are two users in this "market" group.: test1, and test2

 

when this task is executed, the following codes alwasys give the "0" result.

List<Task> taskList = taskService.findGroupTasks("test1");

System.out.println(taskList.size());

 

I wonder how to get the current running taskId in such a situation?

 

I just start to learn this jBPM...

Reply to this message by going to Community

Start a new discussion in jBPM at Community