Unable to link application to Source control in Studio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2016 01:55 AM
I am using this application
GitHub - jmbauguess/UnitTestNOW: ServiceNow Unit Testing util for server side scripts
in SN, imported as update set.
When I tried to store it in my git repo, I got an error:
This application cannot be exported because it is in the global scope. Because they can contain critical components of the core platform, globally scoped applications are not presently safe to use with source control.
Why it happens and is it possible to change scope and save application in git.
Mareks
- Labels:
-
Automated Test Framework

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2016 12:03 AM
Hello Mareks,
To convert your solution from a global scoped application to a unique scope, you will need to recreate your application and move the logic over manually:
- System Applications > Applications > Create New
- From there, recreate your table names, scripts, etc. and copy/paste the logic from your existing app/update set over to the new record
http://wiki.servicenow.com/index.php?title=Managing_Applications

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2016 05:43 AM
Thank you for the screenshot. This confirms that your current application is in the global scope which precludes you from using Studio and Source Control (and some of the other scoped features.)
As Pradeep suggested, you need to create a new application. I recommend going through Studio to do this. System Applications> Studio then create a new application and start rebuilding the contents in Studio. If you want, save your application to a Git repository. This makes it easy to distribute to others and archive for your purposes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2016 06:11 AM
Well, nvm, now I see the "global", duh.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2016 06:13 AM
Yeah, Publish to Update Set is available for any app (global or not.) Global appears in the 'scope' field as you discovered. If it were a scoped app, it would have a name like x_66456_testapp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2016 06:16 AM
Thanks. I did this so long ago, I forgot most of the details.