Getting a cast invalid error while trying to conditionally display a standard icon indicator in a paging grid

Hi,

I am trying to conditionally display a standard icon indicator in a 2 column paging grid by calling a!iconIndicator() inside a!documentImage() to display this icon in a grid image column. However, i get the following error instead:

Interface Definition: Expression evaluation error at function a!documentImage [line 45]: Could not cast from Rule or Function Reference to Document. Details: CastInvalidCould not cast from Rule or Function Reference to Document. Details: CastInvalid

Attached corresponding SAIL code that throws this error.

Any help to fix this issue is highly appreciated

OriginalPostID-231066


applicationDetailsGrid.txt

  Discussion posts and replies are publicly visible