Move Global Application to Scoped.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2022 12:52 PM
I feel like this is a No, but wanted to check if there are any easy ways of doing this.
We have a application built in a global scope and is Live from few years and we are planning to move to a new set of instances.[not new]
Is there a way to move this as a scoped app or move this effectively to a different Instance

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2022 01:05 PM
Hi,
Unfortunately, I believe you'll need to create the new custom scope and then manually move your development to that new scope piece by piece.
As far as moving it to another instance, you have a few options, but if these new instances become part of your family stack (talk to ServiceNow support), you should have it associated to your app repo and can then install it on the other instance(s).
I need to double-check one thing, but I thought with San Diego there was something changed to allow some sort of movement within the custom app space, but I think it was around changing a store app to a non-store app and vice versa.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2022 04:59 PM
Hi Pardhiv,
I haven't fully tested this but I was able to export Script Include as xml and change the following lines to new scope.
1. Open the Script Include to export and click on the header area and select "Export" > "XML (This Record)"
2. Using a text editor, change following lines.
<api_name>global.sample</api_name>
<sys_scope display_value="Global">global</sys_scope>
3. If it's in the same instance, changed the sys_id to a new sys_id or it'll error during "Import XML".
<sys_id>2164c4b49710511086d3b4b3f153af57</sys_id>
<sys_update_name>sys_script_include_2164c4b49710511086d3b4b3f153af57</sys_update_name>
4. Go back to Script Include list and right click on the header and select "Import XML".
"Import XML" back. The Script Include was imported as a scoped Application.