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
6 replies
Subscribers
9 subscribers
Views
3879 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Fetch Data From View Using Query Rule
pavanik
Certified Senior Developer
over 8 years ago
Hi,
I am fetching employee data from view using query rule .. I am facing fallowing error.
-----------------------------------------
Expression evaluation error in rule 'kp_ial_getempdetailsfromview' at function 'queryruleexec': Error evaluating function 'queryruleexec' : Error converting query output (rule: [KP_IAL_getEmpDetailsFromView], type: [KPIALSearchForEmployeeDT8936], objects successfully converted: [9])
If I used query entity its working fine. Any suggestions to get this to work?
Please find following screenshot.
Thanks in advance
OriginalPostID-258404
Discussion posts and replies are publicly visible
Parents
0
pavanik
Certified Senior Developer
over 8 years ago
Thanks everyone. It was view contain null value as a primary key causing the issue. Corrected it and the error is gone.
I want to know, why query entity works in the same scenario when view contain null as a primary key ?
Glad to know your solutions and thoughts!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
pavanik
Certified Senior Developer
over 8 years ago
Thanks everyone. It was view contain null value as a primary key causing the issue. Corrected it and the error is gone.
I want to know, why query entity works in the same scenario when view contain null as a primary key ?
Glad to know your solutions and thoughts!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data