---
sourceDocument: Brazil Telecommunications Network Inventory
sourceDocumentLink: https://www.servicenow.com/docs/r/telecom-network-inventory

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Telecommunications Network Inventory

ft:clusterId :

    - telninv

bundleId :

    - telninv

workflow :

    - Customer and Industry


---

# Export hierarchy via JSON

# Exporting hierarchy process via JSON {#ariaid-title1}

Release version: Brazil  
Updated November 19, 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 Exporting hierarchy process via JSON

ServiceNow provides a method to migrate models and templates between instances by exporting them as a single JSON file that includes all dependent data.
This export maintains system ID continuity, ensuring the records function identically on the target instance.
The Export Hierarchy action generates a JSON file containing the selected record and its entire hierarchy, including all referenced and related records necessary for proper operation.
Show full answer Show less  

## Key Features

* **Comprehensive Export:** The JSON file packages the selected model or template along with all dependent reference data such as manufacturer details, product info, classifications, and pricing data.
* **Automatic Inclusion of Referenced Models:** When exporting an inventory template, all models referenced by that template are included automatically.
* **System ID Continuity:** IDs are preserved between source and target instances, allowing seamless recreation of records without breaking references.
* **Role-Based Permissions:** Export permissions depend on the record type:
  * Models and hierarchies: roles **snnicore.inventoryadmin** or **snnicore.telcoinventorycatalogmanage**
  * Inventory templates and their models: roles **snnicore.inventoryadmin** or **snnicore.inventorytemplatemanager**
  Inventory Admin can perform both export actions, Catalog Manager can export models, and Template Manager can export templates with referenced models.
* **Single-Stage Export Process:** Initiating Export Hierarchy from a record bundles all required data into one JSON file, which appears as an attachment on an export request record. Once completed, the file can be downloaded and imported into the target instance via the Network Inventory Workspace.

## Practical Benefits for ServiceNow Customers

* **Efficient Cross-Instance Migration:** Easily move complex models and templates with dependencies intact, reducing manual reconfiguration effort.
* **Data Integrity and Consistency:** Preserving system IDs and including all dependencies guarantees that imported records function correctly without missing references.
* **Role-Driven Security:** Ensures only authorized users can export sensitive inventory data, aligning with governance policies.
* **Simplified Import Process:** The JSON import recreates the full hierarchy automatically, streamlining deployment in different environments.  
Learn how to migrate models and templates between ServiceNow instances by exporting them with all their
dependencies as a single JSON file. The export preserve system ID continuity between source and target.

## Exporting hierarchy via JSON overview {#exporting-hierarchy-process-via-json__section_xzk_v3t_bjc}

The Export Hierarchy action produces a JSON file containing the selected record and its complete hierarchy. This includes the dependent reference data the records require. You can import the JSON file on a target ServiceNow instance to recreate the hierarchy. System ID continuity is preserved between source and target.

## Components in JSON file {#exporting-hierarchy-process-via-json__section_bwy_bjt_bjc}

A JSON export packages the selected model or template along with everything it depends on:

* Dependent reference data: Any records the model or template references, such as manufacturer details, product information, model classifications, and currency or pricing data.
* Inventory templates and their referenced models: When you export a template, the models the template depends on are included automatically

{#exporting-hierarchy-process-via-json__ul_btt_gjt_bjc}

The dependent reference data is included because the models and templates can't function on the target instance without their references intact. For example, an exported equipment model for a Cisco router includes the Cisco
manufacturer record. This verifies the imported model on the target instance keeps its manufacturer link.

## Roles required for Export Hierarchy {#exporting-hierarchy-process-via-json__roles-required-export-hierarchy}

The role required for JSON export depends on what's being exported:
{#exporting-hierarchy-process-via-json__roles-required-export-hierarchy__entry__3}

| Action | Roles permitted | Result |
|-|-|-|
| Export a model and its hierarchy | sn_ni_core.inventory_admin or sn_ni_core.telco_inventory_catalog_manage | The exported JSON contains models, child records, referenced records and related records |
| Export an inventory template and its hierarchy (including its referenced models) | sn_ni_core.inventory_admin or sn_ni_core.inventory_template_manager | The exported JSON contains the templates, the model it references and the related recorde of both. |
[Table 1. Permitted roles and their corresponding actions]

Inventory admin can perform either action. Catalog Manager can export models. Template Manager can export templates and the models those templates reference.

## How Export Hierarchy via JSON works {#exporting-hierarchy-process-via-json__exporting-hierarchy-process-via-json-how-it-works}

The JSON export process operates as a single-stage interaction. When you initiate the Export Hierarchy function from a model or template record, the system identifies the selected record together with all its related and
referenced records. The system packages them into a single JSON file. The JSON file is generated as an attachment on the Export request record. After the export status shows Completed, you can download the JSON file from the
right sidebar.

You can transfer the downloaded JSON file to the target instance. Load it using the JSON import feature in the Network Inventory Workspace. Importing the JSON on the target instance recreates the model or template along with
its complete hierarchy. System ID continuity is preserved between the source and target.

This is why JSON export is the recommended path for cross-instance migration. The file contains everything needed for the records to function on the target instance, not just the records themselves.

To learn the step-by-step procedure for exporting a model or template hierarchy as JSON, see [Import models and templates in JSON format](https://www.servicenow.com/docs/lpFiCy4ERjjqw6KRZVyDeQ "Create an import request to import your collection of models and templates in JSON format, and streamline the workflow using the Telecommunications Network Inventory application.").
**Related tasks**   

* [Export hierarchy of models and templates](https://www.servicenow.com/docs/5ydjRyr28YaM7XCYPsEaDw "Export a hierarchy of models, inventory templates, and all related records efficiently using the application.")

