[jboss-user] [jBPM] - how to get the taskId in "candidate-groups" sicenario?

stree jang do-not-reply at jboss.com
Tue Feb 22 03:37:23 EST 2011


stree jang [http://community.jboss.org/people/streejang] created the discussion

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

To view the discussion, visit: http://community.jboss.org/message/588902#588902

--------------------------------------------------------------
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
[http://community.jboss.org/message/588902#588902]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110222/9f6a1d7e/attachment.html 


More information about the jboss-user mailing list