Skip to main content
shalinim0003
October 11, 2022
Question

Query Filter

  • October 11, 2022
  • 4 replies
  • 0 views

here for the fist two filters i want to use it as "AND" operator filters and last two I want use as "OR" operator. Is there any way to do it inside the a!queryrecordtype function?

    4 replies

    harshitb6843
    October 11, 2022

    Create a logical expression inside another logical expressions. 

    harshitb6843
    October 11, 2022

    Like this

    a!queryLogicalExpression(
      operator: "AND",
      filters: {
        /*Your filters with AND operator*/
        
      },
      logicalExpressions: a!queryLogicalExpression(
        operator: "OR",
        filters: {
          /*Your filters with OR operator*/
          
        }
      )
    )

    shalinim0003
    October 11, 2022

    Its working thank you

    October 11, 2022