Skip to main content
January 18, 2023
Question

Source & Default Filters: expression Saving issue

  • January 18, 2023
  • 7 replies
  • 0 views

I'm trying to save the filter with Or and 5 criteria. but it only let me save 4.

do you know any workaround or what is the litmit of this

a!queryLogicalExpression(
operator: "OR",
filters: {

a!queryFilter(field: "year1", operator: "<", value: 2021),
a!queryFilter(field: "year2", operator: "<", value: 2021),

a!queryFilter(field: "year3", operator: "<", value: 2021),

a!queryFilter(field: "year4", operator: "<", value: 2021),

a!queryFilter(field: "year5", operator: "<", value: 2021)

}
)

7 replies

stewart.burchell
January 18, 2023

When you say "it only lets me save 4" what exactly are you experiencing? AFAIK there's no limit on the queryFilters you can add (at least, not anywhere near the small numbers you're working with)

kend0001Author
January 18, 2023

it shows that I have errors and I cannot save it.

no error on the 

pithavathp0232
December 4, 2024

[mention:f4dd55c9699a4bbd8088f0494d81a23a:e9ed411860ed4f2ba0265705b8793d05] [mention:7628077af4b9463e9533a897fad2351f:e9ed411860ed4f2ba0265705b8793d05] 

Any solution for this as I'm getting the same error.

[mention:b45a4f6a20b14a008e4e0ec732a8bf98:e9ed411860ed4f2ba0265705b8793d05]  [mention:a11f77a729fb4db2af76b09948583328:e9ed411860ed4f2ba0265705b8793d05]