Set system and custom filters
Learn how to set system and custom filters when creating a notification definition.
Complete Select a related event.
If any system filters exist, set them in the System Filter(s) section. Available system filters vary depending on the related event you selected in Step 2: Select a related event. Certain events do not have system filters.
Optional: Click Manage Custom Filter(s) and then edit custom filters in the Manage Custom Filter(s) dialog that pops up.
-
In the Custom Input Fields section, click + Add Input Field.
-
Specify the following information to define a custom input field. Skip this step if no custom input field is needed. You must include all custom input fields in filter conditions. See step d for more information.
- Name: the name of the custom input field. White space is not allowed.
- Display Name: the label of the custom input field displayed in the UI.
- Input Type: the value type of the custom input field.
- Description: the description of the custom input field.
- Options: the option values of the custom input field. Each option must be separated by a new line.
-
Repeat steps a and b to define more custom input fields as needed.
-
Define filter conditions in the Condition section by using one of the following methods. You must include all custom input fields in custom conditions. For example,
_SUBSCRIPTION_STATUSis a custom input field in the following condition:Subscription.Status == _SUBSCRIPTION_STATUS.- Define conditions with the condition builder. For more information, see Condition builder overview.
- Switch on the Advanced (JEXL) toggle, and then specify an expression in Java EXpression Language (JEXL) in the Set Filter Conditions field. For more information, see Trigger condition syntax.
-
Click Save.
See Set delivery options.