Error in Query Entity due to large data in Database

Certified Senior Developer

Hi All,

I tried to fetch data from Database using queryEntity in expression rule.

But due to large data in database(6278),it shows me the below error.

Could you please help me to sort this issue.

Thanks in advance.

  Discussion posts and replies are publicly visible

Parents
    1.  That error message is generic and there are other causes. Are you sure it's related to the volume of data?
    2. If it is, then you can use the paging capability to fetch the data in smaller batches. Setting the 'batchSize' to -1 will indeed attempt to fetch all of the data, and you can mitigate this by adding one or more filters, and/or change the 'batchSize' to a number like 10, or 50, or whatever makes sense in the context of your solution
Reply
    1.  That error message is generic and there are other causes. Are you sure it's related to the volume of data?
    2. If it is, then you can use the paging capability to fetch the data in smaller batches. Setting the 'batchSize' to -1 will indeed attempt to fetch all of the data, and you can mitigate this by adding one or more filters, and/or change the 'batchSize' to a number like 10, or 50, or whatever makes sense in the context of your solution
Children
No Data