cancel
Showing results for 
Search instead for 
Did you mean: 

query/historic-process-instances is limiting the number of process variables in the response

sreeny
Champ in-the-making
Champ in-the-making
When I query the historic-process-instances with POST and with  "includeProcessVariables":"true" , Activiti is not returning all  process variables. It returning first 10 variables only.

select *   from act_hi_varinst  RES      WHERE RES.PROC_INST_ID_ = 12773  returns 23 variables, but REST returns first 10.(12773 is my process id)

http://localhost:7014/activiti-rest/service/query/historic-process-instances

My request:

{
"includeProcessVariables":"true" ,
  "processDefinitionKey":"OnlineApplication",
  "variables":
  [
    {
        "name":"orderNumber",
        "value":"5681",
        "operation":"equals"
    }
  ]
}

Thanks in advance
1 REPLY 1

trademak
Star Contributor
Star Contributor
Yes, paging together with getting variables is not working correctly in 5.13. We have fixed this on the Github master, and this will be part of the upcoming 5.14 release.

Best regards,