[jboss-user] [jBPM] New message: "Re: Unable to distingusih between pooled-Actors and Swimlane"
john britto
do-not-reply at jboss.com
Thu Jan 21 11:50:12 EST 2010
User development,
A new message was posted in the thread "Unable to distingusih between pooled-Actors and Swimlane":
http://community.jboss.org/message/521500#521500
Author : john britto
Profile : http://community.jboss.org/people/brittobics
Message:
--------------------------------------------------------------
hai
I have followed http://docs.jboss.org/jbpm/v3/userguide/taskmanagement.html#thepersonaltasklist ----------- 11.3.4. The group task list
and i have assigned the task in group of users.
public void assign(Assignable assignable, ExecutionContext executionContext)
throws Exception {
// TODO Auto-generated method stub
String pooledActorId[]= {"Britto,Selva,Sasi"};
assignable.setPooledActors(pooledActorId);
}
in that URL page
there is statement saying
"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."
So i want to know how to find the collection of users and TaskMgmtSession
if i know these both i may achieve what i want to achieve..
Help me.
regards
britto
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/521500#521500
More information about the jboss-user
mailing list