The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Mark Roethof
Tera Patron
Tera Patron

Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

 

Hi there,

 

Hunting for the undocumented of the Zurich Early Availability release, during last weeks (Unofficial) Live Coding Happy Hour we stumbled on something called "Field Regex Mapping Tables". A quick explanation: you could compare it with "Variable Validation Regex" for Service Catalog, though now for Configurable Workspaces. This is newly added with the Zurich release, though unmanaged in the Release Notes.

 

Unfamiliar with Variable Validation Regex? See these older articles of mine:
- 2019-04-22 - Article - Service Portal Catalog Items: Regex Field Validation

- 2019-08-14 - Article - Regexes for Catalog Items Variable Validation, part 2

- 2019-09-16 - Article - Regex Variable Validation on mandatory variables [workaround]

 

Let's have a closer look at Field Regex Mapping Tables!


Tables

One of the first things I do after upgrading an instance to the newest release, is have a look at newly added tables. Almost every release, you will find tables that are not mentioned in the release notes. The Zurich release no different, two tables caught my eyes:

 

regex_01.png

 

Searching again on the Docs, there is actually a page. It's just unmanaged in the Release Notes.
- Configure guidance text and inline validation for string fields

 

You do have to open the table directly. If you would search in the application menus for "Regex", you will not find this new functionality.


Field Regex Mapping Tables

If you are familiar with Variable Validation Regex, then creating a new Field Regex Mapping Table record should look comparible. Big difference being the actual Regex pattern is stored in a separate table called "Regex Table".

 

regex_02.png

 

regex_03.png

 

Both forms don't need much explanation. Select the Table and Field name, think of a proper Placeholder Text and Guidance Text, select the Type for how the field message should appear, and select a Pattern. If no Pattern is available yet, create one 😀.

For testing, I just copied a pattern from the out-of-the-box Number Variable Validation Regex.

 

regex_04.png


Configurable Workspaces

To save you some time during testing... spoiler... Field Regex Mapping Tables only works on Configurable Workspaces (like "Service Operations Workspace"). It does not work on the Core UI.

 

Here is an example of when the above Regex Pattern is used in a new Field Regex Mapping Tables record the Short description on Incident. Just a very basic example to give you an idea.

 

regex_05.png

---

 

And that's it! Not much to it 😀.

 

Hope you like it. If any questions or remarks, let me know!

 

C

If this content helped you, I would appreciate it if you hit bookmark or mark it as helpful.

 

Interested in more Articles, Blogs, Videos, Podcasts, Share projects I shared/participated in?
- Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

 

Kind regards,


Mark Roethof

Independent ServiceNow Consultant
10x ServiceNow MVP

---

LinkedIn

Comments
Rafael Cardoso
Tera Guru
Tera Guru

Great findings @Mark Roethof !! 

Stefan Reichelt
Tera Guru
Tera Guru

Thanks for the article, it's very helpful indeed!

I wonder why it was introduced for workspaces only, but not for the Next Experience classic UI. If I don't force everyone to work in a workspace, these patterns are easily bypassed or missed.

Version history
Last update:
‎08-09-2025 12:16 PM
Updated by:
Contributors