---
sourceDocument: Brazil ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/servicenow-platform

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Policy logic fields

# Policy logic condition fields {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Policy logic condition fields

Policy logic condition fields enable you to define rules that determine whether a policy is compliant or non-compliant within ServiceNow.
Using the condition builder, you can specify detailed conditions and logical operators to create complex policy evaluations.
This functionality supports nested policies and allows for precise decision-making and logging.
Show full answer Show less  

## Condition Builder Features

* **Condition Sets:** Add multiple rules using **or** and **and** operators, create new condition sets, or delete individual conditions.
* **If and Else If Statements:** Define primary and alternative conditions for policy evaluation. Use **else if** to specify conditions when the initial one is false, and **else** for conditions that do not meet the if statement.
* **Dependent Conditions:** Add nested conditions with logical connectors **or** and **and** next to existing conditions for more granular logic.

## Fields for If/Else If Statements

* **Condition Description:** Text description of the condition.
* **Source:** Select the variable source for evaluation.
* **Operator:** Choose from operators that dynamically change based on the selected source to filter conditions.
* **Value:** Enter values or use the Data picker icon to concatenate multiple text strings and data pills (variables) for flexible input. Note that if the source is a choice field, the Data pill picker is disabled.

## Then and Else Statement Fields

* **Logic Type:** Choose between **Decision** (to determine compliance) or **Run policy** (to execute nested child or grandchild policies). Note that PaCE supports nesting up to two levels deep.
* **Log Level:** Specify the severity or detail level of logging.
* **Log Message:** Enter free text or use the Data picker to build dynamic log messages with variables.
* **Output Type:** Define the type(s) of output logs; multiple output types can be added or removed.
* **Data:** Input text or concatenate multiple variables and strings using the Data picker.

## Calculated Fields

Policy logic supports numeric calculations using standard arithmetic operators to evaluate values dynamically:

* **Plus (+):** Add variables and constants.
* **Minus (-):** Subtract variables and constants.
* **Multiplication ():** Multiply variables and constants.
* **Division (/):** Divide variables and constants.
* **Parentheses ():** Control operator precedence within expressions.
* **calc\[\]:** Use brackets to evaluate complex expressions mixing these operators.

Note that only numeric fields are supported for calculations, allowing you to dynamically compute values to influence policy decisions.  
Policy logic is a set of conditions that is used for determining whether a policy is compliant or non-compliant. You can use the condition builder to specify conditions for the policy.

## Policy logic page {#pace-policy-logic-fields__section_f31_xd2_pwb}

Select the or and and button to add multiple rules in the condition set. Select the minus icon ![Minus icon.]() to delete a condition.

<br />

You can add a condition set by selecting the New condition set button.
{#pace-policy-logic-fields__table_rfb_gpj_pwb__entry__2}

| Field | Description |
|-|-|
| Condition description | Description of the field. |
| Source | Variable of the source for the condition. |
| Operator | List of operators to filter the source for the condition. The list changes depending on the source selected. |
| Value | Value to enter text. Select the Data picker icon ![Data pill picker icon.]() to concatenate multiple text strings with multiple data pills to select a variable for the log. Note: If your Source is choice, the Data pill picker icon is inactive. |
[Table 1. If and else if statement fields]

{#pace-policy-logic-fields__table_rfb_gpj_pwb}

The else if statement enables you to specify a new condition if the first condition is false. The else statement enables you to specify a new condition if it does not apply to
the if statement.

You can add a dependent condition by selecting or or and next to the condition.
{#pace-policy-logic-fields__table_g25_5pj_pwb__entry__2}

| Field | Description |
|-|-|
| Logic type | Select the logic type of the policy: * Decision: Determines if the policy is Compliant or Non-compliant. * Run policy: For nested policies, the parent policy will return the decision of the child policy that has been selected in the builder. Note: PaCE supports nesting policies for decision-making and up to two levels are supported, a child and a grandchild. {#pace-policy-logic-fields__ul_h1h_ny1_q2c} |
| Log level | Level of the log. |
| Log message | Log message field to enter text or select the Data picker icon ![Data pill picker icon.]() to concatenate multiple text strings with multiple data pills to select a variable for the log. |
| Output type | Output type of the log. You can select the plus icon ![Add icon.]() to add multiple output types or the minus icon ![Minus icon.]() to delete the output type. |
| Data | Data field to enter text. Select the Data picker icon ![Data pill picker icon.]() to concatenate multiple text strings with multiple data pills to select a variable for the log. |
[Table 2. Then and else statement fields]

{#pace-policy-logic-fields__table_g25_5pj_pwb}

The following images show you are able to use the data pill picker to concatenate data in the fields:

<br />

<br />

<br />

You can see a list of the data sources under the Data source tab.  
You can calculate fields using numeric operators and use these variables to calculate the desired value in a policy logic.  
Note:  
This only supports numeric fields.
{#pace-policy-logic-fields__table_gfp_ftk_wbc__entry__2}

| Operator | Description |
|-|-|
| Plus (+) | Add variables and constants. For example, "Var1 + Var2..." |
| Minus (-) | Subtract variables and constants. For example, "Var1 - Var2..." |
| Multiplication (\*) | Multiple variables and constants. For example, "Var1 \* Var2..." |
| Division (/) | Divide variables and constants. For example, "Var1 / Var2..." |
| Parentheses () | Use parentheses to support the order of operators. |
| calc\[\] | Use the brackets to evaluate an expression. |
[Table 3. Calculated fields]

{#pace-policy-logic-fields__table_gfp_ftk_wbc}

You can mix and match between the operators. For example, "Var1 +Var2\*Var3 / Var4".

