Property reference

sn_cdm.variable_regex

Defines how variable references are captured from a CDI value. By default, names wrapped in double at-signs, such as @@name@@, are captured from the value.

Default
Not stated
Type
Not stated
Application
Not stated

Key questions about this property

The answers below summarize the purpose, scope, default effect, and review scenarios for this property.

What does it do? Sets the pattern used to identify variables referenced in CDI values, with the default syntax written as @@name@@.
What area does it affect? CDM configuration data
What does the default mean? No default value is stated in the ServiceNow documentation.
When should you review it? Review when the variable-reference syntax used in CDI values needs to change.

Property record

Facts stated in the ServiceNow documentation. No out of the box record has been read from an instance yet.

Property name sn_cdm.variable_regex
Type Not stated
Application Not stated
Default value Not stated
Description Not stated

Sources

Official references and nearby text excerpts where this property appears.

More in sn_cdm

Other properties in the same namespace.

All 22 properties in sn_cdm →

From the ServiceNow docs

The regex used to capture variables referenced in a CDI value. With this value, the syntax to use a variable is: @@name@@ Default: @@([^@].*?)@@

Brazil · CDM system properties · updated 2026-09-10

Source: ServiceNow/ServiceNowDocs (Apache 2.0)