-
1. Re: JBPM Rest API tasks query retrieving always 1000 rows
abhijithumbe Jul 11, 2017 10:49 PM (in response to rodrigo.burdet)Same REST API is working fine for me:
[abhumbe@abhumbe bin]$ curl -X GET -u 'bpmsAdmin:admin12@' 'http://localhost:8080/business-central/rest/query/task?status=inprogress&status=ready&status=reserved&potentialOwner=bpmsAdmin&s=1&p=1'
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><task-summary-list-response><task-summary><id>1</id><name>HT</name><subject></subject><description></description><status>Reserved</status><priority>0</priority><skipable>true</skipable><actual-owner>bpmsAdmin</actual-owner><created-by>bpmsAdmin</created-by><created-on>2017-07-12T08:08:15+05:30</created-on><activation-time>2017-07-12T08:08:15+05:30</activation-time><process-instance-id>1</process-instance-id><process-id>DemoProject.demo</process-id><process-session-id>11</process-session-id><deployment-id>example:DemoProject:1.8</deployment-id><quick-task-summary>false</quick-task-summary><parent-id>-1</parent-id></task-summary><page-number>1</page-number><page-size>1</page-size></task-summary-list-response>
-
2. Re: JBPM Rest API tasks query retrieving always 1000 rows
rodrigo.burdet Jul 12, 2017 9:53 AM (in response to abhijithumbe)I also get a response but i cannot retrieve more than 1000 task-summary. Have u triend instatiating more than 1000 tasks and then do the request ?
-
3. Re: JBPM Rest API tasks query retrieving always 1000 rows
abhijithumbe Jul 12, 2017 11:56 PM (in response to rodrigo.burdet)Yes its working for me with 2k tasks as well:
[abhumbe@abhumbe ~]$ curl -X GET -u 'bpmsAdmin:admin12@' 'http://localhost:8080/business-central/rest/query/task?status=inprogress&status=ready&status=reserved&potentialOwner=bpmsAdmin&s=1&p=2000'
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><task-summary-list-response><task-summary><id>2000</id><name>HT</name><subject></subject><description></description><status>Reserved</status><priority>0</priority><skipable>true</skipable><actual-owner>bpmsAdmin</actual-owner><created-by>bpmsAdmin</created-by><created-on>2017-07-13T09:24:56+05:30</created-on><activation-time>2017-07-13T09:24:56+05:30</activation-time><process-instance-id>2000</process-instance-id><process-id>DemoProject.demo</process-id><process-session-id>12</process-session-id><deployment-id>example:DemoProject:1.9</deployment-id><quick-task-summary>false</quick-task-summary><parent-id>-1</parent-id></task-summary><page-number>2000</page-number><page-size>1</page-size></task-summary-list-response>[abhumbe@abhumbe ~]$