Convert Local Variable to Array

Certified Associate Developer

Hello, 

I am using local variable as a filter for a query: 

a!queryFilter(
field: "codigoMunicipio",
operator: "IN",
value: local!municipioMultiple
)

Problem is tha the variable is passed as String and the filter have condition IN 

Which generates the following error: 

Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error in rule 'tax_colopoc' at function a!gridField [line 310]: Cannot apply operator [IN] to field [importMonth] when comparing to value [TypedValue[it=3,v=January]].

Any idea how to pass it as an array {"January"} ?

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data