Default transform definitions
Summarize
Summarized using AI
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.
Summary of Default transform definitions
ServiceNow provides a set of default transform definitions that enable you to manipulate field values during data transformation. These definitions cover text, numeric, and text-numeric data types, allowing you to standardize, format, and clean data as it is imported or processed.
Show less
Key Features
- Change case: Converts text field characters to upper case, lower case, title case (proper), or formal case (first letter capitalized).
- Constant: Replaces the field value with a specified constant, useful for setting fixed values.
- Delete: Removes a sequence of characters from a string based on specified start and end positions.
- Insert: Inserts a fixed sequence of characters into a field at a defined position.
- Left and Right: Keeps or deletes a specified number of characters from the left or right side of a field value.
- Prefix and Suffix: Adds defined characters to the beginning or end of a field value.
- Replace: Uses regular expressions to find and replace strings within a field value, supporting complex substitutions.
- Round: Rounds numeric values to a chosen interval with various rounding modes (e.g., half up, half down, toward zero), suitable for aligning values to business units.
- Substring: Keeps or deletes characters in a specified substring range within a field.
- Trim: Removes blank spaces from text or numeric fields to clean input data.
Practical Use and Benefits
These transform definitions help ServiceNow customers ensure consistent and clean data during imports or integrations by:
- Standardizing text formats to meet business rules (e.g., casing, prefixes, suffixes).
- Cleaning or modifying strings to remove unwanted characters or insert necessary delimiters.
- Applying precise numeric rounding to align with reporting or calculation requirements.
- Replacing or setting constant values to enforce data integrity.
By leveraging these built-in transforms, you can automate data normalization, reduce manual correction efforts, and improve overall data quality within your ServiceNow instance.
The system offers default transform definitions for fields containing text, text numeric, and numeric values.
| Transform Type | Category | Description | Parameters |
|---|---|---|---|
| Change case | Text | Changes the case of the characters in the field value. | Mode: Select one of the following modes:
|
| Constant | Text Numeric | Converts the value in this field to a constant. | Constant: The constant with which to replace the value in this field. |
| Delete | Text | Delete a specified sequence of characters from a field value. |
|
| Insert | Text | Insert a fixed character sequence into a field value. |
|
| Left | Text | Deletes or keeps a specified number of characters from the left side of this field value. |
|
| Prefix | Text | Adds characters to the beginning of a field value. | Prefix: Defines the characters to add to the beginning of the transformed field value. |
| Replace | Text | Replaces occurrences of one string with another string. The special characters backslash (\) and dollar sign ($) in the replacement string can cause the transform to be different than if the replacement string were being treated as a literal replacement string. Use a regular expression to replace a string or parts of a string. |
|
| Right | Text | Retains or deletes a specified number of characters from the right side of a field value. |
|
| Round | Numeric | Rounds integers to a configured rounding interval using specific criteria. The interval must be appropriate to the value being transformed, such as an interval of 12 for a value expressed in dozens or 0.01 for decimal values expressed in hundredths. |
|
| Substring | Text | Keep or delete characters from a specified sub-sequence of characters in the field value. |
|
| Suffix | Text | Appends characters to the end of a field value. | Suffix: Defines the suffix to add to the end of the field value. |
| Trim | Text Numeric | Removes blank spaces from the field value. | No parameters |