You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Filter Criteria Does Not Work

edited Oct 7, 2019 4:48AM in Visual Builder 6 comments

Content

Hi All,

Filter Criteria works perfect when i use single variable, but if i use multiple , it does not work.

Can you please tell where iam going wrong, and how do i trace how this criteria is passed to BO at run time.

Do we have any logging mechanism to find out it ?  So i can have clear understanding of it.

-Sridhar

Code Snippet

{
 "filterCriterion": {
  "op": "$or",
  "criteria": [
   {
    "op": "$co",
    "attribute": "empName",
    "value": "{{ $page.variables.empNameVar }}"
   },
   {
    "op": "$co",
    "attribute": "empNum",
    "value": "{{ $page.variables.empNumVar }}"
   }
  ]
 }
}
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!