---
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


---

# Export and import a CMDB query

# Export and import a CMDB query {#ariaid-title1}

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

Export a saved CMDB or Service Mapping query definition to an XML file which you can later import and run in the CMDB Query Builder. This process lets you port a saved query between instances, such as from a development environment to a
production environment.

## Vorbereitungen

* You must save a query before you can export it.
* Domain in an exported query must be visible in both, source and destination instances.
{#export-import-query__ul_c3y_tfr_jhb}

Role required: cmdb_query_builder

## Warum und wann dieser Vorgang ausgeführt wird

When exporting a combination query, the integrated Service Mapping query
definition is included in the exported query.

For backward compatibility, you can alternatively [Export and import a query as an update set](https://servicenow-prod.fluidtopics.net/sOjKKVv1QgQz_W5oEzx4eg "Export a saved query definition to an XML file as an update set, which you can later import.").

## Prozedur

1. Navigate to AllConfigurationCMDB Query Builder.
2. Export a saved query:
   1. In the Saved Queries tab, in either list view or card view, select a saved query.
   2. Select the Export query icon at the top of the Query Builder canvas.
   3. Wait for the Query Export Complete message to appear and then select Download.  
      You can now access the query XML file.
   {#export-import-query__substeps_bhc_1dr_jhb}
3. Import a saved query:
   1. In the Saved Queries tab, select the Import query icon at the top of the CMDB Query Builder window.
   2. In Finder, select the saved query XML file and select Open.  
      The imported query is available in the Saved Queries tab of the CMDB Query Builder on the instance.
   {#export-import-query__substeps_ism_3dr_jhb}
{#export-import-query__steps_ljs_gcr_jhb}

