Error : A grid component [label="Read-only Grid"] has an invalid value for "showSearchBox". "userFilters" and "showSearchBox" may only be specified when "data" is sourced from a Record Type.

Hello everyone,

I have an expression rule where i am querying the record type and after querying i need to apply certain condition to further filter the data. And in the Interface, I stored this rule in the local variable. If I pass the local variable to a grid Field data in the read only grid. It's throwing me this error.


I tried recordData(), but after querying the record, I need to apply certain condition to further filter the data.Is it possible to use local variables inside the record type.

  Discussion posts and replies are publicly visible