Chris Melas [http://community.jboss.org/people/melc] created the discussion

"Re: jBPM5 : Assign Human task to a Group / Role"

To view the discussion, visit: http://community.jboss.org/message/629299#629299

--------------------------------------------------------------
Hello,
just specifying the groupid and
this code 
client.getTasksAssignedAsPotentialOwner("actorId", groups, "en-UK", 
taskSummaryResponseHandler); 
is enough.
Make sure that you have added the groups and users to the task session i.e. 
from  
https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/test/java/com/test/BaseHumanTaskTest.java
 
https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/test/java/com/test/BaseHumanTaskTest.java
.....
session.addUser(new User(testUser));
*
*

session.addGroup(new Group(testGroup));
 Also make sure the database table OrganizationalEntity contains them.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/629299#629299]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to