[jboss-user] [jBPM] - Re: jBPM5 : Assign Human task to a Group / Role

Chris Melas do-not-reply at jboss.com
Thu Sep 29 09:43:10 EDT 2011


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110929/da3225ec/attachment-0001.html 


More information about the jboss-user mailing list