a!queryEntity given 2000 records it's giving us this error

Hi, we have a requirement to view/export report of more or less 3000 records with 90 fields. We tried using queryentity() and the exportreportfromprocessmodel function and it works with minimum datasets (ex. 100 rows) , but when we inserted 2000 records, we are getting an error on the queryentity.

To give you an idea, the queryEntity is referencing a table view that left joins 10 normalized tables. From 40 secs loading time in My SQL, we have optimized it to load in just 7 secs, but when called using the function a!queryEntity given 2000 records it's giving us this error: "Expression Evaluation error in rule .... at function a!queryEntity". Is this a limitation in Appian? Please advise.

OriginalPostID-181807

OriginalPostID-181807

  Discussion posts and replies are publicly visible

Parents
  • @jessicae I believe that the performance of the query entity not only depends on the database object but it also depends on how you are utilising the Appian features. For instance, you may check 'Slow data store operations' section at https://forum.appian.com/suite/help/7.11/Appian_Health_Check.html which speaks about the various phases in an operation etc. So simply speaking, definitely you could see a good difference between the execution times of native SQL query and Appian query execution times. And anyhow with respect to limits, Appian has already specified them in terms of execution time and amount of data at https://forum.appian.com/suite/help/7.9/Post-Install_Configurations.html#Query_Rule_Limits. Appian practitioners here could throw more light on your question provided if you could post the 'Caused By:' reasons from the stack trace when you are experiencing the issue.
Reply
  • @jessicae I believe that the performance of the query entity not only depends on the database object but it also depends on how you are utilising the Appian features. For instance, you may check 'Slow data store operations' section at https://forum.appian.com/suite/help/7.11/Appian_Health_Check.html which speaks about the various phases in an operation etc. So simply speaking, definitely you could see a good difference between the execution times of native SQL query and Appian query execution times. And anyhow with respect to limits, Appian has already specified them in terms of execution time and amount of data at https://forum.appian.com/suite/help/7.9/Post-Install_Configurations.html#Query_Rule_Limits. Appian practitioners here could throw more light on your question provided if you could post the 'Caused By:' reasons from the stack trace when you are experiencing the issue.
Children
No Data