Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

Create a condition statement using the condition builder

Create a condition statement using the condition builder

A condition builder constructs a condition statement with a series of contextually generated fields. Condition builders are used in many operations, such as creating filters, administering surveys, and administering access control.

Before you begin

Role required: admin

About this task

A condition consists of three parts.
Condition builder diagram with field, operator, and value sections highlighted
Part Description
Field A choice list based on the table and user access rights. The choice list can include fields on related tables by dot-walking.
Operator A choice list based on the field type. For example, in the Incident [incident] table, the greater than operator does not apply to the Active field but it does apply to the Priority field.
Value A text entry field or a choice list, depending on field type. For example, in the Incident [incident] table, the Active field offers a choice list with the values true, false, and empty, while the Short Description field offers a text entry field.
Note: The condition builder in the list filter has a different appearance in List v2 and List v3. In UI16, condition builders in forms can be configured to look and work like the List v3 condition builder.

Procedure

  1. To add a dependent condition, click AND or OR next to the condition.
  2. To add a top-level condition:
    VersionAction
    List v2
    • Click AND or OR on the condition builder toolbar above the conditions.
    List v3
    • Click New Criteria.
  3. To remove a condition:
    VersionAction
    List v2
    • Click the delete icon (X) next to the condition.
    List v3
    • Click the remove condition icon (⊝) next to the condition.
    Figure 1. Example AND condition in List v2 filter
    Example AND condition in List v2
    Figure 2. Example OR condition in List v3 filter
    Example OR condition in List v3