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
11 replies
Subscribers
7 subscribers
Views
3182 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I am running an Quey Rule in a Record to gather data for a grid. It is a simple
lesliem
over 9 years ago
I am running an Quey Rule in a Record to gather data for a grid. It is a simple Query Rule but I am getting the error "Could not display interface. Please check definition and inputs.
Interface Definition: Expression evaluation error : "
Here is the code:
load(
local!pagingInfo:a!pagingInfo(
startIndex: 1,
batchSize: 5
),
local!data: rule!PD_getFeasibilityResponsesByFeasibilityId(ri!selectFeasibilityID),
with(
local!datasubset: todatasubset(local!data,local!pagingInfo),
if(local!datasubset.totalcount<1,
label: "Response for "&index(local!datasubset.feasibilityId,{}),
firstColumnContents: {
a!gridField(
totalCount: local!datasubset.totalCount,
columns: {
a!gridTextColumn(
label: "Assignee",
data: index(local!datasubset.data, "assigneeName",{})
),
a!gridTextColumn(
label: "Response",
...
OriginalPostID-126994
OriginalPostID-126994
Discussion posts and replies are publicly visible
Parents
0
lesliem
over 9 years ago
I removed the if(local!datasubset.totalcount<1, and that seemed to help. I no longer get the Interface Definition: Expression evaluation error but I am now getting "Interface Definition: Expression evaluation error in rule 'pd_getfeasibilityresponsesbyfeasibilityid' (called by rule 'pd_feasibilityresponses') [line 20]: " It is very Query rule is very simple. It looks up the list of records by feasibilityId. feasibilityId is a Numeric(Integer) field. There are records in the table.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
lesliem
over 9 years ago
I removed the if(local!datasubset.totalcount<1, and that seemed to help. I no longer get the Interface Definition: Expression evaluation error but I am now getting "Interface Definition: Expression evaluation error in rule 'pd_getfeasibilityresponsesbyfeasibilityid' (called by rule 'pd_feasibilityresponses') [line 20]: " It is very Query rule is very simple. It looks up the list of records by feasibilityId. feasibilityId is a Numeric(Integer) field. There are records in the table.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data