cancel
Showing results for 
Search instead for 
Did you mean: 

Rest Api paging

ctchoum
Champ in-the-making
Champ in-the-making
Hi guys,
I have created more than 3000 process instances.
When i trying to access those instances with the REST Api /query/historic-process-instances
when i use start=0&size=20, all is OK. I have the response with the 20 process instances.
With start=2 and so on it always OK.

But when i use some high value for start something like start=1700&size=20.
I have nothing.
There any configuration to retreive more datas ?

Thanks
1 REPLY 1

ctchoum
Champ in-the-making
Champ in-the-making
I notice that my problem is the <b>includeProcessVariables</b> parameter.
When <b>includeProcessVariables=true</b>, i have no instances found. If i change <b>includeProcessVariables=false</b>, i have the instances found.
The problem occured when the start value is high.

I'm using <b>/query/historic-process-instances</b> with parameters <b>start</b>, <b>size</b>, and <b>includeProcessVariables</b>

I'm having the problem with activiti 5.17 and 5.21 versions
Can somebody help me please ?