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
8 replies
Subscribers
9 subscribers
Views
2772 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
I am following 'Service-Backed Records Tutorial' & getting below err
vineeta6579
over 10 years ago
I am following 'Service-Backed Records Tutorial' & getting below error when modified source expression to =rule!getAllEmployees(rsp!query.pagingInfo)
Error:-
ERROR com.appiancorp.rest.record.data.RecordItemListViewProvider - com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException: com.appiancorp.suiteapi.common.exceptions.AppianException: An error occurred while retrieving the data for “Employee Directory”. (APNX-1-4205-003)...
OriginalPostID-122960
OriginalPostID-122960
Discussion posts and replies are publicly visible
0
Aleksi White
Appian Employee
over 10 years ago
Could you attach the full log?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vineeta6579
over 10 years ago
Attached Server log
server.log
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vineeta6579
over 10 years ago
Attached records config screenshot. I am using same rules which are provided in forum.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Alok Mohare
Appian Employee
over 10 years ago
The expression in the List View Item Template seems to be incorrect:
rule!employeeRecordLVI(rf!firstname, rf!lastName, rf!title, rf!department
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vineeta6579
over 10 years ago
It was working fine but when I changed Expression source to =rule!getAllEmployees(rsp!query.pagingInfo).
it started throwing above mentioned error...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Alok Mohare
Appian Employee
over 10 years ago
The server.log is also complaining of the List View Item Template expression:
15:14:23,363 INFO [stdout] (http-/0.0.0.0:8080-10) 2014-09-18 15:14:23,363 [http-/0.0.0.0:8080-10] ERROR com.appiancorp.core.expr.Lex - Could not lex the expression: rule!employeeRecordLVI(rf!firstname, rf!lastName, rf!title, rf!department
Reaplace:
rule!employeeRecordLVI(rf!firstname, rf!lastName, rf!title, rf!department
With:
rule!employeeRecordLVI(rf!firstname, rf!lastName, rf!title, rf!department)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vineeta6579
over 10 years ago
yes that was typo error and fixed now. Kindly review the latest attached log file.
server.log
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vineeta6579
over 10 years ago
its working now.. Thanks Alok & Aleksi
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel