Limitation of List Tasks using RESTFUL

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2013 07:08 AM
today I try get list of tasks which assigned to a user.
If I logged in to "Activiti-Explorer" to see assigned task, there I can see "16" pending tasks.
But when I try get list of tasks using RESTFUL for that user it return only "10" pending tasks.
I am using Activiti 5.9 and to get all tasks I am using below link
http://10.*****:9090/activiti-rest/service/tasks?assignee=caadmin
and it returns
It clearly shows pending tasks is "16" but return only "10".
is it activiti limitation?
if so then how can get all the pending tasks using RESTFUL
If I logged in to "Activiti-Explorer" to see assigned task, there I can see "16" pending tasks.
But when I try get list of tasks using RESTFUL for that user it return only "10" pending tasks.
I am using Activiti 5.9 and to get all tasks I am using below link
http://10.*****:9090/activiti-rest/service/tasks?assignee=caadmin
and it returns
{ "size": 10, "start": 0, "order": "asc", "sort": "id", "total": 16, "data": [ { "name": "User Task",
It clearly shows pending tasks is "16" but return only "10".
is it activiti limitation?
if so then how can get all the pending tasks using RESTFUL
Labels:
- Labels:
-
Archive
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2013 07:46 AM
Please read the user guide more thoroughly:
Use the size-parameter to raise the size of entities you want to have returned. The default is 10
GET /tasks?[assignee={userId}|candidate={userId}|candidate-group={groupId}]&start={start=0}&size={size=10}&sort={sort=id}&order={order=asc}
Use the size-parameter to raise the size of entities you want to have returned. The default is 10

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2013 08:05 AM
Please read the user guide more thoroughly:
GET /tasks?[assignee={userId}|candidate={userId}|candidate-group={groupId}]&start={start=0}&size={size=10}&sort={sort=id}&order={order=asc}
Use the size-parameter to raise the size of entities you want to have returned. The default is 10
thanks…

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2014 09:27 AM
I have the same problem: I tried with
<code>http://host:8080/activiti-rest/service/runtime/tasks?assignee=kermit?start=0?size=100</code>
Then, I get en empty result. Without the parameters, I get 10 insted of 17 results. I use activiti 5.16 Snapshot.
<code>http://host:8080/activiti-rest/service/runtime/tasks?assignee=kermit?start=0?size=100</code>
Then, I get en empty result. Without the parameters, I get 10 insted of 17 results. I use activiti 5.16 Snapshot.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2014 09:28 AM
Sorry, was my fault. Forget about it
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2018 08:48 AM
did you find a solution to this question?
