Hi, IMHO the problem lies with the implementation of the class 
ExpressionAssignmentHandler's assign() method:


  | [...]
  | 
  |       // else if the expression evaluated to a user
  |       } else if (entity instanceof User) {
  |         // do direct assignment
  |         assignable.setActorId(entity.getName());
  |         
  |       // else if the expression evaluated to a group
  |       } else if (entity instanceof Group) {
  |         // put the group in the pool
  |         assignable.setPooledActors(new String []{entity.getName()});
  |       }
  | 
  | [..]
  | 

As can be seen a group is not assigned to the pooled actors as an array of the 
users contained in it, but as an array with only one element, namely the group 
itself. Thus, the users in that group won't see the task in their task list as 
for jBPM the set of pooled actors only consists of one actor with the name of 
the group.

In my project I have written an own AssignmentHandler which does its job fine. 
:-)

So long, Matthew

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

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


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to