Regress v1.93 for Xanadu/Yokohama (and Roadmap!)

Bug fixes and Roadmap

by snnerd
204 views

After a brief hiatus from blogging, working on my other project steamgames.whichisthe.best, I would like to share some updates for the Regress ATF Recorder. I hope to resume blogging my ServiceNow nerd journey as the year progresses!

Bug fix update

I’ve updated Regress ATF Recorder to version 1.93 to address a bug that has been introduced in recent family releases.

You may encounter the following error:

Regress has failed to load: TypeError: Cannot read properties of undefined (reading ‘VariableStateChecker’)

This can be fixed manually or by a Fix Script included in the latest version.

Manual fix

To remedy the error, add the ‘VariableStateChecker’ and ‘SPVariableStateChecker UI Scripts to the impacted Service Portal Theme in order between the RegressUI and ServiceCatalogForm17 JS Include.

UI Script Dependencies and Order

To add a UI Script to a Service Portal Theme, see the instructions below:


Navigate to the Service Portal Theme Configuration

  1. Log in to your ServiceNow instance.
  2. In the left-hand navigation menu, type and select “Service Portal > Themes”.
  3. Open the theme record associated with your Service Portal.

Ensure You Are in the Correct Scope

  1. Look at the Application Picker (top-right corner of the screen).
  2. If the theme belongs to a scoped application, switch to that scope using the dropdown.
  3. If you are in the wrong scope, the New button in the JS Includes related list may not appear.

Add the UI Script to the Theme

  1. Scroll down to the JS Includes related list.
  2. Click New to create a new JS Include record.
  3. In the JS Include form:
    • Select the UI Script from the UI Script field (use the magnifying glass 馃攳 to search).
    • Ensure the Order field is set correctly if multiple scripts need to load in a specific sequence.
    • Set Active = true if the script should be applied immediately.
  4. Click Submit to save the JS Include record.
  5. Repeat steps 2-4 for additional UI Scripts if needed.

Save and Apply the Changes

Clear the cache by running cache.do in the application navigator (optional but recommended).


Automated Fix

To fix this automatically, download Regress v1.93 or later from ServiceNow Share.

Once installed, navigate to Fix Scripts and open the record named Xanadu+ Service Portal UI Script fix. Once opened, select Run Fix Script. This will automatically add the missing UI Scripts to any Service Portal theme that already had existing UI Scripts for Regress.

Thanks to SNDevs Slack user D H for bringing this to my attention.

Roadmap for 2025

While I have not released any new functionality for some time, I have been working on Regress again and share my roadmap below:

  • Service Catalog recording without Variable Sets (Almost finished)
  • Support for Configurable Workspaces (Almost finished)
  • Reworked Properties page (TBC)
  • Improved Recording Details page (TBC)
  • New Guided Setup for Next Experience (TBC)
  • Improved Web Page regress-atf-recorder.com (TBC)

For more about ATF, check out my other blogs!

Related Posts

Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More