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

Condition field types

Condition field types

A condition field specifies when to run business logic such as a business rule or workflow.

There are two types of condition field.

Table 1. Condition field types
Condition field type Description
Condition string A text field that accepts a plain JavaScript condition statement. The system validates the condition syntax for correctness before an update.
Conditions A field that adds a condition builder to a form. Condition builders require specifying a dependent field whose values the system uses to display choice list options. Typically, the dependent field is the Table field.

The system evaluates both types of condition field to determine if the conditions are true or false. When true, the system runs the business logic. When false, the system ignores the business logic.