Catalog Item Filtering Rules
CONTENTS
What is an item filtering rule?
How to write an item filtering rule
What is an item filtering rule?
Item filtering rules can be used to dynamically scope the list of available catalog items displayed to a user based on the defined condition(s).
Conditions can include references to:
- user data
- place data
- task response data
How to write an item filtering rule
In the advanced logic text editor, rules will be grouped under the Catalog Filters category if they leverage FILTER in their action statement.
To write a filter rule:
- Navigate to the mission builder logic tab:
-
Review the mission structure in the structure panel and use applicable abbreviations to reference a task or section within a rule.
Rules must contain a condition, action, and event. The example rule is defined as follows:
Condition | Action | Event |
IF ALWAYS | THEN FILTER SA.T3 TO items.brand = 'Cuties' |
ON START |
Translation: In this example, the rule says to always filter the searchable list task (T3) in Section A (SA) to show only items with the 'brand' value 'Cuties'.
For more information on advanced logic rule syntax, click here.