issue with task report trying to display data

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 Reply Children
No Data