Apply criteria on Service data provider for three attributes in VBCS
Summary
Should apply three criteria's at a time on service data providersContent
Hi,
I had gone through the below link worked fine for two attributes with one operator.
https://blogs.oracle.com/shay/filtering-data-providers-with-compound-conditions-in-visual-builder
But my requirement is to apply two conditions with three attributes at the same time.
Two attributes should be applied with "$or" and the third attribute should be applied with "$and" .
Rule should be applied like (A or and C.
"source": {
"filterCriterion": {
"criteria": [
"{{ $page.variables.locationCriteria }}",
"{{ $page.variables.priceCriteria }}"
],
"op": "$and"
}
}, 0