Exploring System Update Sets
Summarize
Summary of Exploring System Update Sets
An update set is an XML file that consolidates configuration changes, allowing developers to move these changes from a non-production instance to another instance for testing or deployment. This process facilitates the development and promotion of functionalities across various environments in ServiceNow.
Show less
Key Features
- Admin Role: Manages the creation, comparison, and merging of update sets and oversees the application of configuration changes.
- Developer Role: Creates update sets for specific application versions, identifying which tables to track.
- Common Workflow: Involves creating an update set, making changes, marking it complete, retrieving it in the test instance, and thoroughly testing before committing to production.
- Batch Management: Allows for the grouping of update sets for bulk preview and commitment.
Key Outcomes
Using update sets properly streamlines the movement of changes through development, testing, and production, while minimizing errors and maintaining consistency. However, it is crucial to avoid mixing update sets with the application repository to prevent skipped changes and commit errors. Always ensure compatibility when transferring update sets between different versions to safeguard against data loss.
An update set is a group of configuration changes that can be moved from one instance to another. Update sets enable developers to create functionality on a non-production instance, and promote the changes to another instance for testing or deployment.
System update sets overview
An update set is an XML file that contains:
- A set of record details that uniquely identify the update set.
- A list of configuration changes.
- A state that determines whether another instance can retrieve and apply configuration changes.
Users
| User | Description |
|---|---|
| Admin |
Creates, compares, and merges update sets while also managing how update sets store, retrieve, preview, and apply configuration changes between instances. |
| Developer |
Creates update sets for specific versions of an application and specifies which application tables to track. |
Workflows
A common process for developing customizations with update sets involves moving changes from development to test and production instances.
- Create an update set on the development instance.
- Make customizations and changes on the development instance.
- Mark the update set as complete.
- Log in to the test instance and retrieve the completed update set from the development instance.
- Commit the update set on the test instance, and test customizations thoroughly.
- If the update set has problems in the test instance, repeat steps 1–5 to develop the fix on the development instance with another update set.
- Identify a common path for update sets to move from instance to instance and maintain that model. Never migrate the same update set from multiple sources. Move update sets from dev to test and then from test to production.
- Commit the update set on production. If the update set required a fix, commit both update sets in the order they were made.
If your development environment consists of only two instances, you can combine your development and testing instances into a single staging instance.
- Create an update set on the staging instance.
- Make customizations and changes on the staging instance.
- Mark the update set as complete.
- Test customizations thoroughly on the staging instance.
- If the update set has problems, repeat steps 1–4 to develop the fix on the staging instance with another update set.
- Log in to the production instance and retrieve the completed update set from the staging instance. If the update set required a fix, retrieve both update sets.
- Commit the update set on production. If the update set required a fix, commit both update sets in the order they were made.
Benefits
| Benefit | Feature | Users |
|---|---|---|
| Create an update set to store local changes. | Create and select an update set as the current set | Developer |
| Select the current update set to store local changes. | Select the current update set in Unified Navigation | Admin |
| Commit an update set to prepare it for distribution. | Commit an update set | Admin |
| Compare update sets to determine what differences they contain. | Compare local update sets | Admin |
| Create an external file from an update set. | Save an update set as a local XML file | Admin |
| Retrieve update sets from remote instances. | Retrieve an update set | Admin |
| Back out changes applied from an update set. | Back out an update set | Admin |
| Set system properties related to update sets. | Update sets properties | Admin |
| Track customizations to application tables, fields, and records. | Customizations tracked by update sets | Admin |
| Batch update sets together so you can preview and commit them in bulk. | Working with batched update sets | Admin |
Use cases
Choose update sets or the application repository depending on the result that you want to achieve. Don’t use both Update Sets and the Application Repository for scoped app development. Combining the usage of both results in skipped changes and commit errors. After installing an app from the Application Repository, continue its usage for development and publishing. Update sets can only transfer limited application files. For larger transfers, export and import data using import sets or web services.
- Update sets
-
- Storing changes to a base system or installed application.
- Storing and applying a particular version of an application.
- Producing a file for export.
- Application repository
-
- Installing and updating applications on all company instances.
- Managing application update sets.
- Restricting access to applications from the same company.
- Deploying completed applications to end users.