Can we use GitHub integration with Global scope?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2022 02:35 PM
Is it possible to move all configuration changes in the platform to GitHub so that when we clone over an instance, we don't need to worry about losing changes? Note, I know this is possible for scoped application via Studio, but I'd like to know if it's also possible for Global.
Also, if there's documentation on this, please point the way. I didn't find exactly what I was looking for in the documentation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2022 03:22 PM
Hello Eric, App development in the Global scope was introduced with the Paris platform release. THere are some limitations, and moving "existing" changes into a global app is also not with out its limits.
Perhaps this may help you as a starting point for your context:
https://docs.servicenow.com/bundle/sandiego-application-development/page/build/guided-app-creator/task/gac-activate-global.html
As the carpenters often say, measure twice; cut once.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2022 10:32 PM
If you create a new application you now have the advanced option to create an app using the global scope. You may hear these referred to as "global apps", "globally scoped apps", "un-scoped apps", "global app bundles" The terminology is awkward, but ultimately what it means is that application files you create while the application is selected will be created and run in the global scope.
These global apps have all the same functionality when it comes to our developer tooling. You can link a global app to source control, you can publish the application to the app repo, and you can use the CI/CD APIs to test and deploy the app between instances.
One handy feature you might like, is the ability to import files from an existing update set. Using the "Add existing files" menu item under "File". This is only available to global apps.
This feature allows you to migrate files you have previously created or modified, to now be managed and maintained by an application. You might consider creating a new global app called ITSM and importing all the customisations you have made to the ITSM product. Using Git you can now track changes and versions more openly. You have the choice to start using app repo for deployments, or sticking to update sets.
If your main concern is losing data on a clone, consider using Data Preservers. Alternatively there are other best practices around "trying out ideas" by having a dedicated sandbox instance, or utilising a PDI.
Being able to re-import an app from source control is, of course, a nice bonus of using Git. However you wont avoid data loss if developers haven't committed their changes.
Hope this helps,
~Robert