I have a query entity rule which works in DEV and QA with no issues. However i

Certified Senior Developer
I have a query entity rule which works in DEV and QA with no issues. However it fails with "Expression evaluation error at function a!queryEntity [line 2]: An error occurred while retrieving the data." in Production, but ONLY when the batch size is set to anything other than -1. The query is against a secondary datasource which tends to have latency issues at times. Note, there is much higher volume in Production that DEV and QA.

OriginalPostID-191331

OriginalPostID-191331

  Discussion posts and replies are publicly visible

Parents
  • It would be worth finding out the location of the logs as per your Appian instance and then the application-server.log in them. Ideally it would be <install_dir>/logs/application-server.log.

    If it's a cloud instance, you can navigate to the 'Home' tab and thereafter you can see a link named 'Access System Logs' on the left hand side.

    You are saying that the file is empty. Are you talking with respect to the above file? If that's the case, I would like to suggest you to regenerate the error so that log will record it (I guess the log file has been cleared earlier).
Reply
  • It would be worth finding out the location of the logs as per your Appian instance and then the application-server.log in them. Ideally it would be <install_dir>/logs/application-server.log.

    If it's a cloud instance, you can navigate to the 'Home' tab and thereafter you can see a link named 'Access System Logs' on the left hand side.

    You are saying that the file is empty. Are you talking with respect to the above file? If that's the case, I would like to suggest you to regenerate the error so that log will record it (I guess the log file has been cleared earlier).
Children
No Data