Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
4 replies
Subscribers
8 subscribers
Views
1769 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hello, I am receiving the following error when initiating an action.
jaker
over 10 years ago
Hello,
I am receiving the following error when initiating an action. (see attached)
"Expression evaluation error in rule 'coe_getdocumentmain' (called by rule 'coe_documentuploadgrid'): Error evaluating function 'queryruleexec' : Unexpected error executing query (type: [COECDTDocumentMainDT4589], query: [COE_getDocumentMain], order by: [[]], filters:[null])"
This error started to occur after revising and republishing a couple of CDTs, including the document_main CDT which is being queried above. Impact Analysis was successful and mappings verified in the data store. To debug, I have republished the CDTs as well as recreated the query rule in question. When inputting the query rule as an expression(to test the output of the query), the same error occurs. I have yet to come across this error, so any advice would be greatly appreciated.
Thanks in advance,
Jake
OriginalPostID-142669
OriginalPostID-142669
Discussion posts and replies are publicly visible
0
jaker
over 10 years ago
This may very well be a data issue, but as I mentioned I have not come across this issue so I am having trouble debugging
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
venkats533
over 10 years ago
did you check log, to see any more information ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
To complement the suggestion above: In order to troubleshoot issues where the message is very generic such as: "Unexpected error executing query" you need to reproduce and then find this error in the application-server.log, once you have identified it review each of the individual "Caused by" clauses. Usually the most bottom ones (that belong to that error) will be the most informative ones in the stack trace.
You won't know what the problem is if you only focus the troubleshooting on the generic "Unexpected error executing query" error message.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jaker
over 10 years ago
Thanks for the advice everyone- as you mentioned, the log pointed to the proper issue. The mySQL data was corrupted after republishing CDTs, and was therefore throwing back this error.
Thanks again
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel