Since this is a recurring question.  I checked the docs and indeed the text for 
this part is really confusing.   sorry :-)

So here's the meat of that crappy explanation:  

* The actorId denotes the person to which this task is assigned.  If a task 
instance has an actorId, that task will appear in the user's personal task list.

* The pooled actors denote the candidates for the task instance.  This means 
that the task is offered to many users and one has to take it into his/her 
personal task list in order to start working on it.  Taking a task means that 
the given actor will put his id in the task instance's actorId.

* Now here it comes: a pooled actorId, can be a reference to a user OR a group 
OR a system.

* So to fetch all the task instances for which a given actor is a candidate (= 
the user's grouptasklist) you need to do the following:
Make a collection that includes the user's actorId and all the ids of groups 
that the user belongs to.  Then 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 motivation behind this is that we want to separate the identity component 
from jBPM task assignment.  jBPM only stores Strings as actorIds and doesn't 
know the relation between the users, groups and other identity information.

is this better ? then i'll replace the original with this in the userguide :-)

regards, tom.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943132


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to