Hi, 

I'm just getting off with jBPM, and this is my first post in this forum: Hello 
everyone :)

So far, I've gotten everything to work, until now. I'd like to get a list of 
all tasks assigned to groups a specific user belongs to. 

Example: User frank1 is in group sales and management. A task is assigned to 
management. I want to get this task by placing a query about tasks for frank1. 

Basically something like "findPooledTaskInstances(actorID)", which I've found 
in the guide: 

"To fetch the group task list for a given user, proceed as follows: Make a 
collection that includes the user's actorId and all the ids of groups that the 
user belongs to. With TaskMgmtSession.findPooledTaskInstances(String actorId) 
or TaskMgmtSession.findPooledTaskInstances(List actorIds) you can search for 
task instances that are not in a personal task list (actorId==null) and for 
which there is a match in the pooled actorIds. "

The result unfortunately is empty:( How can I accomplish this?

Thanks a lot and best regards, 

Damian

PS: Is there any API about Groups? I defined some groups in the JBPM Console, 
but can't find any way to access them. Help please? :/


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220728#4220728

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220728
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to