IN operator not working

-------Updated below code--------------

Hi ,

local!data: a!queryEntity(
entity: cons!TEST ,
query: a!query( )
),

local!dataF:index(local!data.data,wherecontains((9555),year(local!data.data.date))),



local!dataH: a!queryEntity(
entity: cons!HELLO,
query: a!query(
logicalExpression: a!queryLogicalExpression(
operator: "AND",
filters: {
if(rule!APN_isBlank(local!dataF.name),
{},
a!queryFilter(
field: "name",
operator: "in",
value: local!dataF.name
)
)})))

By running above code i am getting below error.

Expression evaluation error at function a!queryEntity [line 80]: Cannot apply operator [IN] to field [componentId] when comparing to value [TypedValue[it=3,v=1027A]].

Why IN operator i not working inside query filter. Outside its printing correct value. What exactly its expecting ?

Can any help me on this ?

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data