Skip to main content
Known Participant
Jan 18, 2023 3:01 PM UTC
Question

Source & Default Filters: expression Saving issue

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
Employee
Jan 18, 2023 3:47 PM UTC

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
Known Participant
Jan 18, 2023 4:08 PM UTC

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

no error on the 

pithavathp0232
New Participant
Dec 4, 2024 3:16 PM UTC

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

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

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