omni.query(name).setFilter() and .removeFilter() in the app’s code.
Use this to keep your own interface in sync with what someone has filtered to inside the app.
Payload
Properties
The complete set of filter overrides after the change, as an object of query name to field name to value. A query with no overrides is absent.
Example
Someone picks Returned in an app’s status control, and the app callssetFilter on its orders query:
setFilter — a scalar, an array, or a filter object — so treat them as opaque unless you know what the app sends.
Refer to Consuming events for the full listener setup, including origin checks.
