JBoss Community

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

created by helal jean-noel in jBPM - View the full discussion

Hi Stree

 

I don't see what is wrong in there if you have make sure that you created a "market" group with a "test1" user  that belong to it !

 

Here is something equivalent that work with JBPM4.4 (and i gess worked with 4.3):

 

TaskList l = ...getTaskService().CreateQuery.candidate("test1").list()

 

same would work with assignee("test1") instead of candidate("test1") after you explicitely "taken" the task or if you use [assignee ="test1"]  instead of [candidate-groups="marker"]

 

Regards  

JNH

Reply to this message by going to Community

Start a new discussion in jBPM at Community