I am running an Quey Rule in a Record to gather data for a grid. It is a simple

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
  • Here is the PD_feasibilityResponses code:
    load(
    local!data: rule!PD_getFeasibilityResponsesByFeasibilityId(ri!selectFeasibilityID),
    local!pagingInfo:a!pagingInfo(
    startIndex: 1,
    batchSize: 5
    ),
    with(
    local!datasubset: todatasubset(local!data,local!pagingInfo),
    label: "Response for " & index(local!datasubset.data,ri!selectFeasibilityID,{}),
    a!sectionLayout(
    firstColumnContents: {
    a!gridField(
    totalCount: local!datasubset.totalCount,
    columns: {
    a!gridTextColumn(
    label: "Assignee",
    data: index(local!datasubset.data, "assigneeName",{})
    ),
    a!gridTextColumn(
    label: "Response",
    data: index(local!datasubset.data,"approveDeny",{})
    ),
    a!gridTextColumn(
    label: "Comment",
    data: index(local!datasubset.data,"comment",{})
    )
    },
    value:local!pagingInfo,
    saveInto: local!pagingInfo
    )
    }
    )
    )
    )
Reply
  • Here is the PD_feasibilityResponses code:
    load(
    local!data: rule!PD_getFeasibilityResponsesByFeasibilityId(ri!selectFeasibilityID),
    local!pagingInfo:a!pagingInfo(
    startIndex: 1,
    batchSize: 5
    ),
    with(
    local!datasubset: todatasubset(local!data,local!pagingInfo),
    label: "Response for " & index(local!datasubset.data,ri!selectFeasibilityID,{}),
    a!sectionLayout(
    firstColumnContents: {
    a!gridField(
    totalCount: local!datasubset.totalCount,
    columns: {
    a!gridTextColumn(
    label: "Assignee",
    data: index(local!datasubset.data, "assigneeName",{})
    ),
    a!gridTextColumn(
    label: "Response",
    data: index(local!datasubset.data,"approveDeny",{})
    ),
    a!gridTextColumn(
    label: "Comment",
    data: index(local!datasubset.data,"comment",{})
    )
    },
    value:local!pagingInfo,
    saveInto: local!pagingInfo
    )
    }
    )
    )
    )
Children
No Data