- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2025 06:11 AM
Hello,
I have worked on a Development which is in Global Scope. we have flows, sub flows, script include, Business rules, client scripts, tables etc. in the same Scope.
Now we want to migrate the entire code which we have developed in Global scope to Custom Scoped Application.
1. Is there any possibility to move the code from Global scope to Custom Application scope?
2. If yes, can someone help in suggesting how to move?
3. If no, do we need to create the entire code from scratch in Custom Application scope
Regards,
Rakesh Darshnala.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2025 08:01 PM
@Rakesh_darshnal Recreating all these application files in the custom scope will be a painful process but I recommend doing that as updating the application scope on these files may result in errors which will be hard to trace. If you really want to try this approach, you can try and change the application scope (on a sandbox instance) and see if it causes any errors. This approach may work fine for scripts but when it comes to flows/workflows you have no other option but to re-create them in the custom application scope.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2025 10:07 PM
Hello @Rakesh_darshnal, Unfortunately, there is no direct way available for moving from Global to Scoped. The easiest and best possible way is recreate your application and copy other artifacts manually.
Occasionally, people export the object as XML, edit the XML, and then import it back. But, this requires thorough testing to validate the functionality, which again requires significant amount of time.
Regards,
Nishant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2025 06:41 AM
Only option is to create from scratch.
There is 1 other way to manipulate the XML of each component and update the scope sysId and display value but I won't recommend this method as it's not reliable.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2025 08:01 PM
@Rakesh_darshnal Recreating all these application files in the custom scope will be a painful process but I recommend doing that as updating the application scope on these files may result in errors which will be hard to trace. If you really want to try this approach, you can try and change the application scope (on a sandbox instance) and see if it causes any errors. This approach may work fine for scripts but when it comes to flows/workflows you have no other option but to re-create them in the custom application scope.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2025 10:07 PM
Hello @Rakesh_darshnal, Unfortunately, there is no direct way available for moving from Global to Scoped. The easiest and best possible way is recreate your application and copy other artifacts manually.
Occasionally, people export the object as XML, edit the XML, and then import it back. But, this requires thorough testing to validate the functionality, which again requires significant amount of time.
Regards,
Nishant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2025 06:41 AM
Only option is to create from scratch.
There is 1 other way to manipulate the XML of each component and update the scope sysId and display value but I won't recommend this method as it's not reliable.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader