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

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Execution mode

# Set execution mode for running a query {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Configure the execution mode to use when running a saved query. The execution mode setting determines whether the query runs using a performance-enhancing engine or the legacy engine.

## Vorbereitungen

Role required: cmdb_query_builder

## Warum und wann dieser Vorgang ausgeführt wird

A saved query can run in either of the following execution modes:

* V1: Runs the query using the legacy SQL-based query execution engine.
* V2: Runs the query using an enhanced query execution engine based on Graph API technology, which is designed for improved performance and scalability.

{#config-query-builder-engine-mode__ul_cd2_cj1_nhc}  
Hinweis:  
When running queries that contain OR nodes, the format of the returned results is different between the options.  
The system uses query-level engine execution mode settings and system-wide properties to determine which mode to use. A query-level setting has precedence over system property settings in the decision of which engine to use to run a saved query:

1. Check the query setting in the Query Execution Mode attribute in the Saved Queries \[qb_saved_query\] table:
   * If 'v1' or 'v2': Use the specified value.
   * If 'None': Check system properties as described in the next step.
   {#config-query-builder-engine-mode__ul_ivf_rj1_nhc}
2. Check system property glide.cmdb.query.execution_mode:
   * If 'v1', null, or empty: Use v1
   * If 'v2': Perform 'OR'-specific evaluation:

     If the query contains one or more logical OR conditions:
     * Check the value of glide.cmdb.query.or_execution_mode:
       * If 'v1' or 'v2': Use that value
       * If empty: Use v1
       {#config-query-builder-engine-mode__ul_u2w_hk1_nhc}
     * If the query contains no OR conditions: Use v2
     {#config-query-builder-engine-mode__ul_kt1_dk1_nhc}
   {#config-query-builder-engine-mode__ul_ydy_ck1_nhc}

{#config-query-builder-engine-mode__ol_ahb_lj1_nhc}For more information about the glide.cmdb.query.execution_mode and the glide.cmdb.query.or_execution_mode system properties, see [Property settings for CMDB Query Builder](https://servicenow-prod.fluidtopics.net/qhiZv7XHhLymWKGv8ZCyAg "Set property values to configure query processing.").

## Prozedur

1. Navigate to All and then, in the navigation filter, enter <kbd class="ph userinput">qb_saved_query.list</kbd> to open the Saved Queries table.
2. In the Saved Queries list view, select the query for which you want to set execution mode.
3. On the query's form, set Query Execution Mode to 'v1' or 'v2'.
4. Select Update.
{#config-query-builder-engine-mode__steps_j5g_5rp_lgc}

