Getting All active Instance using queryProcessAnalytics function

Hi All ,
We have Created one portal report which are all active process in environment , After getting these data we are calling portal report by using a!queryProcessAnalytics() in expression rule.
Here we have 98177 records and am getting data based on query filter and if we pass batch size as -1 it return's empty portalDataSubset,So how can we get all the data?
Thanks In Advance.

  Discussion posts and replies are publicly visible