Sebastian R_
Kilo Sage

During our last servicenow upgrade (London -> Madrid) for one of our customers, I wrote a little application which helps us to compare cloned widgets to the original version.

The application compares all cloned widgets based on a given prefix to the identical original version and shows a list of different fields and wether the widget has beend changed during the selected upgrade. From the created compare record you can also launch the "Compare to Current" Editor to compare the original widget to your customized cloned widget.

You can download the application from the share: Cloned Widget Comparison

Installation Guide

  1. Download Update Set from Share
  2. Retrieve and commit on your sub-production instance (which should be upgraded)
  3. Copy code from Fix Script "Change Table Access" and run it in global scope (this grants access to some system tables which is necessary due to cross-scope-restrictions). RECOMMENDATION: DO NOT RUN ON PRODUCTION

The Update Set can be committed on production instances so that the history data can be kept on the sub-production instaces (tables are excluded from clones).

 

Usage Guide

  1. Create a Definition
  2. Select the major upgrade and a prefix for your Widgets (don´t forget the whitespace if you used one, e.g. "MS " if you named your widgets "MS My Requests"
  3. You do not have to select an update set. This is generated automatically and is only used to store the base version for reference.
  4. Click UI Action "Compare Widgets"find_real_file.png
  5. After you clicked the UI Action a new run is created and the widgets are compared and the result is stored in separate records.find_real_file.png
  6. If you have changed your widgets you can re-run "Compare Widgets" which updates the records.
  7. In the Widget Comparison List you can see for each cloned widget wether the original widget has been changed during the selected upgrade and which fields are different.find_real_file.png
  8. From the Widget Comparison Form or List you can launch the compare/merge editor which compares the original version to your customized version.find_real_file.png
Version history
Last update:
‎07-09-2019 01:13 AM
Updated by: