"The a!queryFilter function has an invalid value for the “value” parameter. When the value of “operator” is “=” “value” must not be null or empty." I'm getting this expression evaluation error.

"The a!queryFilter function has an invalid value for the “value” parameter. When the value of “operator” is “=” “value” must not be null or empty." I'm getting this expression evaluation error.

with(

 local!pagingInfo: a!pagingInfo(

   startIndex: 1,

   batchSize: - 1

 ),

 a!queryEntity(

   entity: cons!CFS_ALL_DS[7],

   query: a!query(

     filter: a!queryFilter(

       field: "Id",

       operator: "=",

       value: ri!Id

     ),

     pagingInfo: local!pagingInfo

   )

 )

)

  Discussion posts and replies are publicly visible

Parents
  • Hi Shobhit,


    Can you please try below code.Hope this will resolve your issue.


    with(
    local!pagingInfo: a!pagingInfo(
    startIndex: 1,
    batchSize: - 1
    ),
    local!datasubset: if(
    rule!APN_isBlank(
    ri!Id
    ),
    {},
    a!queryEntity(
    entity: cons!CFS_ALL_DS[7],
    query: a!query(
    filter: a!queryFilter(
    field: "Id",
    operator: "=",
    value: ri!Id
    ),
    pagingInfo: local!pagingInfo
    )
    )
    ),
    local!datasubset
    )

    Thanks,
    Sindhu
Reply
  • Hi Shobhit,


    Can you please try below code.Hope this will resolve your issue.


    with(
    local!pagingInfo: a!pagingInfo(
    startIndex: 1,
    batchSize: - 1
    ),
    local!datasubset: if(
    rule!APN_isBlank(
    ri!Id
    ),
    {},
    a!queryEntity(
    entity: cons!CFS_ALL_DS[7],
    query: a!query(
    filter: a!queryFilter(
    field: "Id",
    operator: "=",
    value: ri!Id
    ),
    pagingInfo: local!pagingInfo
    )
    )
    ),
    local!datasubset
    )

    Thanks,
    Sindhu
Children
No Data