This content has been marked as final.
Show 3 replies
-
1. Re: Human Task: Paging query results.
bpmn2user Sep 22, 2011 5:34 PM (in response to ntharaka)You can use code such as following to get the tasks owned by an user.
BlockingTaskSummaryResponseHandler responseHandler = new BlockingTaskSummaryResponseHandler();
client.getTasksOwned(idRef, "en-UK", responseHandler);
tasks = responseHandler.getResults();
You can look at some sample code at http://community.jboss.org/people/bpmn2user/blog/2011/09/21/jbpm5-web-example
-
2. Re: Human Task: Paging query results.
ntharaka Sep 23, 2011 5:37 AM (in response to bpmn2user)Yup, have that working. Assuming a case where the user has 20 tasks, is there way for me to say, get tasks 1 to 10, then get tasks 10 to 20?
-
3. Re: Human Task: Paging query results.
salaboy21 Sep 23, 2011 8:57 AM (in response to ntharaka)You can create a custom named query and executa that to get the task summaries from the database right?
Cheers