Hi,
I have problems with Assigning a task to a group.
I'm using jbpm-starters-kit-3.0.2, and run some tests from there.
I created in the ProcessDefinition a task with this assignment:

<assignment expression='group(group1) --> member(role1)'

where in the DB I have the Identity tables with correct data.

I debugged the process and I saw that the AssignmentHandler recives the 
expression well but it process it in a wrong way.

The results of this assignment were :
1) the ActorId of the TaskInstance was set to a single user
2) the pooledActorArray was null.

I'm sure that in the membership table there are 2 users with role
  "role1", so :

Later I used this assignment:
<assignment expression='group(group1)
the pooledActorArray was set with "group1"
and there was no mention to the users.


1) Way the AssignmentHandler made setActorId?
2) How can I assign a task to a pool of users?
3) Why the AssignmentHandler set pooledActorArray with the grpup name
     and not with the users of the group?
4) I can change the AssignmentHandler so it will work correctly, it is  
recommended ?
5) So what should I do?

Any help will be appreciated.

Issak.
 




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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to