Hi,
I'm using expression in "Source & Default Filters" in RecordType.
I can only save expression with 4 criteria but I cannot save it with more than 4.
do you have any suggestion. my code is below:
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),
a!queryFilter(field: "year6", operator: "<", value:2021),
a!queryFilter(field: "year7", operator: "<", value:2021),
} )
Discussion posts and replies are publicly visible
That seems very odd that you can't save it. Perhaps you could put the expression in a separate expression object and call that from within the Record Type definition?