Add New Criterion Button

This button allows you to add a criterion to a basic selection rule.

Clicking the button displays a slide-out panel.

The panel's header initially reflects the currently-selected context at the point of its being displayed.  If the rule as a whole was selected, the panel's header is set to the currently-selected SQL database definition's name. If a criteria list/table is selected, its name is displayed instead.  A '<' button is displayed to the left of the panel's header.  You can click the header to return to the parent context.

All criteria applicable to the current context are listed in the panel.

Nested tables are displayed alongside criteria and are shown with a '>' button to the right.  If clicked, the contents of the panel are replaced with the contents of the nested table, and the panel's title is updated to reflect the same.  Note that nested tables can contain nested child tables, if thus specified at the selected SQL database definition.

Clicking a criterion within the panel adds a matching criterion to the basic selection rule.

If appropriate, a new criterion is created within criteria lists representing the attribute's position in the table hierarchy defined at the selected SQL database definition.

If a criteria list is selected when a criterion is added, if the selected criterion fits within the criteria list's hierarchy, it is added (along with any criteria lists necessary to represent the table structure).  If the selected criterion does not fit within the hierarchy, a warning is thrown.

A newly-added criterion is presented in Edit mode by default.  If you were editing an existing criterion when Add New was clicked, Edit mode is exited in the former context, and the new criterion is shown in Edit mode.

If the currently-selected SQL database definition’s Enable contact rules property is checked, three additional nested sets of criteria (Contact Rules, Offer History - [Audience Definition] and Offer History Sandbox - [Audience Definition] are available when adding a new criterion.  These are documented separately.