---
sourceDocument: Xanadu ServiceNow AI Platform Administration
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/platform-administration

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Condition field types

# Condition field types {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

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

There are two types of condition field.  
{#condition-field-types__table_hjx_w1b_v1b__entry__2}

| 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](https://www.servicenow.com/docs/access?context=c_ConditionBuilder&version=xanadu&pubname=xanadu-platform-user-interface&ft:locale=en-US) 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. |
[Table 1. Condition field types]

{#condition-field-types__table_hjx_w1b_v1b}

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.

To find dictionary attributes that affect condition fields, see [Altering tables and fields using dictionary attributes](https://servicenow-prod.fluidtopics.net/W62P_HvztvVqWYI5duwoKQ "Dictionary attributes alter the behavior of the table or field that the dictionary record describes. Administrators can add or modify dictionary attributes.").
* **[Add the condition count to a condition field](https://servicenow-prod.fluidtopics.net/vwV7GsUUXcdQICykKJ0NIA)**   
  The condition count widget can be activated on condition fields to display a preview of the records that would meet the current set of conditions. For fields where the condition count is activated, the number of records that match the conditions will automatically display. The count refreshes if the field the condition field depends on, such as Table, is changed. If the Table field is left empty, the widget is hidden.
* **[Update a conditions field to use condition builder v2](https://servicenow-prod.fluidtopics.net/_0b3WKP9aSsuuNdGyuE8GQ)**   
  In Core UI, you can update a conditions field to display the version 2 condition builder.

