Service definition transfer from one instance to another
Save time and effort by exporting definitions of service instances from the source instance and importing these definitions into the target instance. You can use this method to copy definitions of service instances only of the discovered type.
Typically, you maintain two ServiceNow instances in your organization: for production and for development. Perform the initial mapping of application services in your organization on the development instance, which you use for testing. The results of initial mapping often require some basic troubleshooting or fine-tuning. Once you finish mapping application services on your source instance, transfer service definitions into the target (production) instance.
Notice that you cannot export the actual application services, only service definitions. Mapping is a dynamic process, and the mapping result reflects the actual infrastructure and its configuration. Therefore, the services you exported from one instance and imported into another may look different.
- Service name
- Traffic-based discovery usage
- Entry point
- Business criticality
- Group to which the service belongs
If this service group is part of a service group hierarchy, all parent service groups in this hierarchy are exported as well.
- Comments
- If a service Sys ID does not exist on the target instance, the system creates a new service on the target instance.
- If a service Sys ID and name already exist on the target instance, the system updates this service by overriding the existing service definitions with the imported definitions.
- If a service Sys ID exists on the target instance, but is associated with a different service name, the system updates the service with this Sys ID. The system overrides service definitions, including the service name.
- If the same name is used for different services on the source and target instances, the system does not import service definitions.
- You cannot export manual services. Likewise, you cannot export manually added entry points. When importing definitions of a service containing manual entry points, the system does not make any changes to the entry points.
When transferring service definitions between instances, imported service instances and service groups are assigned to the user's domain.
By default, the system assigns Non-operational status to application services whose definitions you imported.
A service definition transfer deploys the standard import set feature available on the ServiceNow AI Platform. When you export service definitions on the source instance, the system creates a JSON file containing exported data. When you copy service definitions into the target instance, you import the data from this JSON file, which becomes an import set.
Export service definitions
Create an import set containing definitions of services. You use this import set to import service definitions into another instance.
Antes de Iniciar
- Decide which service definitions you want to export. Importante:You can use this method to copy definitions of application serviced of the discovered type only.
- Verify that the source and the target instances are on the same ServiceNow release.
- Open the source instance from which you want to copy service definitions.
- If necessary, fine-tune the import set creation by modifying relevant properties under . For more information, see Components installed with Service Mapping.
Procedimento
Import service definitions from one instance to another
Import definitions of application services from the source instance.
Antes de Iniciar
- Verify that the source and the target instances are on the same ServiceNow release.
- Open the target instance into which you want to import service definitions.
Procedimento
| Symptom | Cause | Solution |
|---|---|---|
| Changes you have recently made to an service instance disappear. | Definitions of existing application services are always overridden during transfer. |
|
| An imported service group does not appear. | The import of an application service assigned to this group failed and the system did not create the group because it appears to be empty. |
|
| An imported service group appears to have wrong application services assigned to it. | This is a different service group with the same name, not the service group you imported. The system failed to import the service group, because the source instance already has a service group with the same name or with the same name and Sys ID. |
|