[jboss-user] [jBPM] - Re: userGroupCallback : getGroupTaskList
roxy1987
do-not-reply at jboss.com
Thu Feb 14 10:00:42 EST 2013
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion
"Re: userGroupCallback : getGroupTaskList"
To view the discussion, visit: https://community.jboss.org/message/797709#797709
--------------------------------------------------------------
Sandra,
The group task thing troubled me a lot too.
I dont know whats wrong with your impl but this is what I do :
//Connect the task handler
BlockingTaskSummaryResponseHandler summaryHandler = new BlockingTaskSummaryResponseHandler();
ArrayList<Object> groupTaskDetail = new ArrayList<Object>();
List<TaskSummary> tasks = null;
List<String> groups = getGroupsForUser(userId); // Get the group IDs for the target user..
client.getTasksAssignedAsPotentialOwner(userId, groups, "en-UK", summaryHandler);
tasks = summaryHandler.getResults();
Regards.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/797709#797709]
Start a new discussion in jBPM at Community
[https://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/20130214/b0f92676/attachment.html
More information about the jboss-user
mailing list