You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following odata query written by hand & working in postman: $filter=ResourceId eq 73 and (CreatedDate gt 2024-11-29T00:00:00Z or ClosedDate gt 2024-11-29T00:00:00Z or TimeLockChanged gt 2024-11-29T00:00:00Z or SignoffTime gt 2024-11-29T00:00:00Z)
so the query I want to build with is a match on a resource id, anything that matches a number of conditions based on a given date.
The resource id matches however the grouped clause doesn't generate as expected,
expected: (CreatedDate gt 2024-11-29T00:00:00Z or ClosedDate gt 2024-11-29T00:00:00Z or TimeLockChanged gt 2024-11-29T00:00:00Z or SignoffTime gt 2024-11-29T00:00:00Z)
actual: ((CreatedDate gt 2024-11-29T00:00:00Z or ClosedDate gt 2024-11-29T00:00:00Z) or SignoffTime gt 2024-11-29T00:00:00Z) or TimeLockChanged gt 2024-11-29T00:00:00Z
Also to note if I group the queries in the same filter, the result output is the same:
I have the following odata query written by hand & working in postman:
$filter=ResourceId eq 73 and (CreatedDate gt 2024-11-29T00:00:00Z or ClosedDate gt 2024-11-29T00:00:00Z or TimeLockChanged gt 2024-11-29T00:00:00Z or SignoffTime gt 2024-11-29T00:00:00Z)
so the query I want to build with is a match on a resource id, anything that matches a number of conditions based on a given date.
The best I've been able to come up in code is:
The resource id matches however the grouped clause doesn't generate as expected,
expected:
(CreatedDate gt 2024-11-29T00:00:00Z or ClosedDate gt 2024-11-29T00:00:00Z or TimeLockChanged gt 2024-11-29T00:00:00Z or SignoffTime gt 2024-11-29T00:00:00Z)
actual:
((CreatedDate gt 2024-11-29T00:00:00Z or ClosedDate gt 2024-11-29T00:00:00Z) or SignoffTime gt 2024-11-29T00:00:00Z) or TimeLockChanged gt 2024-11-29T00:00:00Z
Also to note if I group the queries in the same filter, the result output is the same:
The text was updated successfully, but these errors were encountered: