Field normalization and transformation
Summarize
Summary of Field normalization and transformation
Field normalization and transformation are techniques in ServiceNow designed to enhance data integrity and reduce duplication by standardizing field values. Normalization consolidates variations of the same value into a single preferred form for consistency and improved search results. Transformation modifies raw input values into standardized, meaningful formats based on defined rules and conditions.
Show less
Normalization
- Identifies and replaces variations of a field value with a preferred standard value.
- Eliminates duplicate records and improves search accuracy.
- Automatically adjusts queries and script results to use normalized values.
- Most effective for descriptive fields like names or measurement units.
- Examples include standardizing CPU model names or corporate suffix formats.
Transformation
- Converts raw input into standardized values meaningful to the organization.
- Administrators define transformation rules with conditions and execution order.
- Rules can modify values such as removing suffixes from names or rounding numerical data.
- Processing order and stopping conditions can be controlled per rule.
Enabling Normalization and Transformation by Field Type
- ServiceNow supports normalization and transformation on specific field types by default.
- String and URL fields support both normalization and transformation.
- Decimal, float, integer, and numeric fields support transformation but not normalization.
- Administrators can add support for other data types as needed, but should avoid altering Sys ID fields directly to prevent data corruption.
- Instead of normalizing Sys ID values, normalize or transform the related display values.
Identifying Normalized Fields
- Fields with normalization or transformation have a normalization icon displayed.
- Users with the 'normalizer' role can click the icon to view associated normalization or transformation records.
- Users without this role see a help page instead.
- Administrators can restrict visibility of the normalization icon based on roles using a preference setting.
Field Normalization includes normalization and transformation, which are two different ways to alter field values for increased data integrity and reduced duplication.
Normalization
Normalization searches for variations of the same field value and converts them into a single preferred value. By consolidating multiple variations of the same value into a single simple recognizable value, the system eliminates duplicate records and provides better search results. When a process or a user enters a value in a normalized field, the system determines whether to replace it with a normal value. Normalization also automatically adjusts queries to return normalized results and normalizes values in scripts.
- Set the CPU type of a computer CI to a standard model name such as Xeon.
- Set the suffix used for the names of corporations to a standard format such as ServiceNow, Inc..
Transformation
- Remove suffixes from user names such as Jr. and II.
- Round computer CI RAM sizes to the nearest whole number such as rounding 4112 MB to 4000 MB.
Transform records make up the rules that define how a field transformation is executed. Order values determine the order in which each rule is evaluated. A check box on each transform enables an administrator to determine where processing stops when a rule evaluates to true.
Enabling normalization and transformation by field type
Field type records specify which data types are available for normalization and transformation. By default, the system supports normalization and transformation for these field types.
| Field type | Use to normalize | Use to transform |
|---|---|---|
| Decimal | false | true |
| Float | false | true |
| Integer | false | true |
| Numeric | false | true |
| String | true | true |
| URL | true | true |
Identifying normalized fields
The system displays the normalization icon on fields with an associated normalization or transformation record. Users with the
normalizer role can click the icon to access the associated normalization or transformation
record. Users without the normalizer role instead see a help page. Administrators can configure
who sees the normalization icon with a preference called Restrict to
roles.