[jboss-user] [JBoss jBPM] - Re: ActorId & PooledActors

2009-04-16 Thread ardavan
Thank you my friend. There was an issue in my query. Now I am using this query and get the right information. public List findEndedPooledTaskInstancesByName(List actorIds) { | JbpmContext jbpmContext = Tools.jbpmConfiguration.createJbpmContext(); | try { | L

[jboss-user] [JBoss jBPM] - Re: ActorId & PooledActors

2009-04-15 Thread swatis
Collection l_objClTskInstances = executionContext.getTaskMgmtInstance( ).getTaskInstances(); Iterator it = l_objClTskInstances.iterator(); while(it.hasNext()) {

[jboss-user] [JBoss jBPM] - Re: ActorId & PooledActors

2009-04-14 Thread ardavan
Thanks for your answer Swatis. I am traveling around and don't have access to jBPM code for now on. My issue is: First by implementing the AssignmentHandlerInterface and using: assignable.setPooledActors(new String[] { groupNameId }); I assign a taskinstance to a group of people. When a userA w

[jboss-user] [JBoss jBPM] - Re: ActorId & PooledActors

2009-04-13 Thread swatis
You can set pooled actors as well actor also. You can do the following assignable.setPooledActors(new String[]{"userA", "userB"}); assignable.setActorId("userC"); View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225228#4225228 Reply to the post : http://www.jbo