Filter criteria $or operator not working
Summary
Rest endpoint filter criteria with $or operator doesnt workContent
I am trying to filter REST endpoint of BO. I am successful when there is only one criteria.
But fail when the same filter is with 2 criteria with an $or operator. It works well with $and operator.
CODE:
{
"filter": {
"op": "$or",
"criteria": [
{
"value": "{{ $chain.variables.selectedCollection }}",
"op": "$eq",
"attribute": "collection"
},
{
"value": "{{ $application.variables.currentDate }}",
"op": "$ge",
"attribute": "endDate"
}
]
}
}
Tagged:
0