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
15 replies
Subscribers
9 subscribers
Views
11448 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Expression evaluation error at function a!queryEntity [line 6]: An error occurred while retrieving the data.
ajinkyab277
Certified Lead Developer
over 8 years ago
I am receiving below error when I try to execute the query entity rule qith below code
------------------------------
load(
local!pagingInfo: a!pagingInfo(
startIndex: 1,
batchSize: 20
),
a!queryEntity(
entity: cons!MERCP_DSE_TEST_DS,
query: a!query(
pagingInfo: local!pagingInfo
)
).data
)
--------------------------
However same code works when i just insert query selection in above code
load(
local!pagingInfo: a!pagingInfo(
startIndex: 1,
batchSize: 20
),
a!queryEntity(
entity: cons!MERCP_DSE_TEST_DS,
query: a!query(
selection: a!querySelection(
columns: {
a!queryColumn(
field: "CreateUser"
)
}
),
pagingInfo: local!pagingInfo
)
).data
)
----------------------
No error in a...
OriginalPostID-261209
Discussion posts and replies are publicly visible
Parents
0
Dastagiri Dudekula
over 8 years ago
Suggested way to keep in mind is that every query entity must have the all or required rule inputs and they must be selected with proper null handling in the query.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Dastagiri Dudekula
over 8 years ago
Suggested way to keep in mind is that every query entity must have the all or required rule inputs and they must be selected with proper null handling in the query.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data