An object set filter variable is used to track the filter state of an object set, often output by widgets such as the Filter List, XY Chart, Vega Chart or Pivot Table widgets. Object set filters can then be applied to object set variables, or used to filter object sets in widget configurations.
An object set filter variable can be created as an empty variable and then used in widget configurations to capture widget selections.

A default state for the filter can also be specified by selecting object types, property types, and values for those property types. The values can be specified inline, or as variables.

If you select multiple object types, it is recommended that you filter on properties that are shared by all object types. Failure to do so may result in unexpected behavior, especially if deploying the module from Marketplace.

You can also remove the specified object types once your properties are specified if you want to make your filter object type agnostic. Note that you cannot add additional property filters, or select variables for property values, unless at least a single object type is specified.
The initial state of object sets can also be defined through object set filter variables. Currently, you can filter through or filter out from initial filters in the following ways:
IS: This will return objects that have a property value that matches exactly with the filter query.NULL: This will return objects that have a property value that is null.CONTAIN: This will return objects that have a property that contains the filter query. For example, if a property value is id000123 and the filter query is id0001, this will be considered a match. This matching behavior is currently limited to prefixes; matching arbitrary portions of strings is not currently supported. For instance, if the property value is id000123 and the filter query is d0001, this will not be considered a match.For some workflows, it may be helpful to extract specific filtered values from an object set filter to use them elsewhere in your module. Here are some sample use cases where this may be valuable:
Email Date property on an Email object, and you want to translate that filter to also work on the Call Date property of a Phone Call object.Create New Alert Action.To accomplish this, you can specify a default filter variable state using variables for property values, and turn on Update used variables on filter value changes.

When the filter value is updated to a filter that matches the shape of the default filter, the value for each variable in the configured default will be updated to the extracted value from the filter.
Using the filter above, when a range of points-per-game is selected in the filter list, the numeric inputs that are backed by these extraction variables will be updated.

Only the following value types can be extracted:
Extraction writes values into the variables used in the default filter; it does not itself produce a filter on another property. The first use case above therefore requires a second step, where you reuse the extracted variables in a filter that targets the new property:
Email Date in the example above) using variables for its values, and turn on Update used variables on filter value changes. When a user filters, the extracted values are written to those variables.Call Date in the example above) using the same variables. Either configure this as the default state of a second object set filter variable and apply that variable to the target object set, or configure the filter directly on the target object set variable.Because the second filter reads its values from the variables rather than from the original filter, it applies those values to the target property. Object set filter variables cannot be used as values within another filter, so extracted values must pass through supported primitive variables or lists of supported primitives, such as Date, Timestamp, Numeric, or String, to move between the two filters.
If a user's filter no longer includes the source property, the variables used for extraction are cleared. A filter that relies only on those variables for its values is then dropped rather than matching no objects, so the dependent object set is no longer filtered on the target property.
The filter value must match the shape of the default filter in order for extraction to occur. Review some known cases where this may happen: