how to copy a scope application to another instance

zhihong
Tera Contributor

There are two instances: instance A and instance B. Now, I want to copy a scope application in instance A to instance B and the scope application is still exist in  instance A . is it possible?

Please, any help/advice would be really helpful.

Thanks in advance

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

If both the instances belong to same company i.e. having same vendor prefix code i.e same company then you can do this

you can migrate the scope application from instance A to instance B via update set:

there are many ways to do this but the recommended way is to publish the application to update set and then import that update set to instance B

https://community.servicenow.com/community?id=community_question&sys_id=ef8487a9dbd8dbc01dcaf3231f96...

https://community.servicenow.com/community?id=community_question&sys_id=f33ac3a9db5cdbc01dcaf3231f96...

publish to update set, export the xml then imported the xml into the target instance.

If both the instances are having separate vendor prefix code then publish to app repository and then download the application on instance B from app repository

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

I have two questions:

1.from instance A and instance B, how can I check whether there are belong to same company i.e. having same vendor prefix code i.e.

2.After migrating the scope application from instance A to instance B via update set, is the scope application is still in instance A . what I mean is that I just want to copy a scope application in instance A to instance B, instance A and  instance B have a common  scope application  at last.

Hi,

please find the responses below

1.from instance A and instance B, how can I check whether there are belong to same company i.e. having same vendor prefix code i.e. -> compare this system property in both the instances "glide.appcreator.company.code". If it is same then both the instances are handled by same company

2.After migrating the scope application from instance A to instance B via update set, is the scope application is still in instance A -> yes it would be present in instance A; you are just pushing the app to update set and then committing that in instance B

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Chavan AP
Kilo Sage

As the scope key would be different for both the instances, I would recommend you to rebuild it within your companies permanent instances i.e you will need to recreate your application and move the logic over manually.

 

Application Scope - ServiceNow Wiki

 

You can also try with changing scope key in the downloaded update set XML and then upload the modified update set on the new company's instance. 

Glad I could help! If this solved your issue, please mark it as Helpful and Accept as Solution so others can benefit too.*****Chavan A.P. | Technical Architect | Certified Professional*****