Retrieving huge amount of data

Hi,

I have created a view to display it in read only grid. 

There is huge amount of data that needs to be retrieved and displayed.

But when am writing simple query to fetch data am getting error:

a!queryEntity(
entity: cons!AB_DE_V_DD,
query: a!query(

pagingInfo: if(
rule!APN_isEmpty(
ri!pagingInfo
),
a!pagingInfo(
startIndex: 1,
batchSize: 50
),
ri!pagingInfo
)
)
)

Error: Expression evaluation error at function a!queryEntity: An error occurred while retrieving the data.

Can someone help to sort this issue.

Note: When am using filter to retrieve data, am not getting any error

  Discussion posts and replies are publicly visible

Parents Reply
  • Thanks but still using date filter am getting

    Error as Expression evaluation error at function a!queryEntity: An error occurred while retrieving the data.

    But using filters on other fields am able to retrieve data

    a!queryFilter(
    field: "recordedon",
    operator: "in",
    value: index(ri!recordedon > = {today()- 10},"recordedon",{})
    ),

    Is there any other logic that can be used to get data for last 10 days.  If so please provide the code 

Children