Hi,

i just implement in TaskInstance.java 


  |  public void copySwimlaneInstanceAssignment(SwimlaneInstance 
swimlaneInstance) {
  |     setSwimlaneInstance(swimlaneInstance);
  |     
  | /*setActorId(swimlaneInstance.actorId);
  | setPooledActors(swimlaneInstance.pooledActors!=null ? new 
HashSet(swimlaneInstance.pooledActors) : null);
  | */
  | 
  | log.info("TaskInstance:copySwimlaneInstanceAssignment :: actorId 
"+swimlaneInstance.actorId);
  |     if(swimlaneInstance.actorId!=null){
  |         setActorId(swimlaneInstance.actorId);
  |     }
  | 
  | setPooledActors(swimlaneInstance.pooledActors!=null ? new 
HashSet(swimlaneInstance.pooledActors) : null);
  | Set set = swimlaneInstance.pooledActors;
  |     Iterator it = set.iterator(); 
  |     int i =0; 
  | while (it.hasNext()){ 
  |     Object obj = it.next();
  |     User user = (User) obj; 
  |     setActorId(user.getName());
  |     }
  |  }
  |  }
  | 

it create the one task in jbpm_taskInstance table but it overide the last user. 
For eg. in Group have 2 user say "tom","sri"
and it assing to sri. it should be create two record  in jbpm_taskinstance as 
tom and sri user ...

Please share did anyone workaround this? 



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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to