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
7 replies
Subscribers
9 subscribers
Views
3085 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
issue with task report trying to display data
garym
over 8 years ago
Hi,
I was wondering if anyone has encountered this before. I have a task report and I am getting the error below. I have included a snippet of the a!gridTextColumn statements. The first column that displays the "Org Id" works fine. In the next column, I am trying to apply a rule that will get the Org Name from the Org Id.
Not sure why it doesn't like it.
Could not display interface. Please check definition and inputs.
Interface Definition: Expression evaluation error in rule 'rct_getorgnamebyorgid': The load function cannot be used within rules called by looping functions. Instead, pass the necessary variables via rule inputs or use a!applyComponents.
a!gridTextColumn(
label: "Org Id",
field : "c13",
data: index(local!filteredTaskReport.data,"c13",{}),
links : apply(rule!RCT_createRecordLinkMPSelfCert,index(local!filteredTaskReport.data,"c13",{}))
),
a!gridTextColumn(
...
OriginalPostID-261607
Discussion posts and replies are publicly visible
Parents
0
garym
over 8 years ago
Thanks @akkramanir @madhanka...There was no load() function used in the rule!RCT_getOrgNamebyOrgId(). However, I did replace fn!apply() with a!applyComponents() and it worked. Thanks so much for all your help!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
garym
over 8 years ago
Thanks @akkramanir @madhanka...There was no load() function used in the rule!RCT_getOrgNamebyOrgId(). However, I did replace fn!apply() with a!applyComponents() and it worked. Thanks so much for all your help!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data