Hi,
We are facing the below error while trying to execute the expression rule to fetch data from data base table:
An error occurred while evaluating expression: listofIDtodelete:rule!abc(cons!xyz) (Expression evaluation error in rule 'abc' at function a!queryEntity [line 5]: An error occurred while retrieving the data. Details: Memory threshold reached during output conversion (rule: [queryentity expression], type: [DataReportDT7042], threshold: [1,048,576 bytes], objects successfully converted: [131,071])) (Data Outputs)
Please provide your help regarding the resolution of this issue.
Discussion posts and replies are publicly visible
The only sustainable solution is to refactor your design. Think of batching, looping etc.
Thanks Stefan for your prompt response.
But we are using this data for reporting purpose. The aggregation functions are applied on the whole data so how can we apply batching logic in it.
Then you need to optimize your query. Do your really need all data returned? Is this about reporting into Excel or charts?
Could you do the "heavy lifting" in the database itself? That is, use the database aggregation functions to generate a view (virtual or materialised) and then point Appian at the result table in order to present the data.
Hi Stewart,
We are fetching a single column (ID) data from one database table so will it be helpful to create a view in this case?