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 designed to manipulate and standardize data fields containing text, numeric, or text-numeric values. These transforms enable customers to automate data transformation during import or processing, ensuring consistency and data quality across their instance.
Show less
Key Features
- Change Case: Converts text to upper, lower, proper (title case), or formal case.
- Constant: Replaces the field value with a fixed constant value.
- Delete: Removes a specified sequence of characters from a text field based on start and end positions.
- Insert: Inserts a fixed string into a field value at a specified 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 characters to the beginning or end of a field value.
- Replace: Substitutes occurrences of a string or pattern using regular expressions with another string.
- Round: Rounds numeric values to a defined interval with multiple rounding criteria such as half up, half down, toward zero, away from zero, etc.
- Substring: Keeps or deletes a sub-sequence of characters specified by start and end positions.
- Trim: Removes blank spaces from text or numeric fields.
Practical Use and Benefits
These transform definitions enable customers to:
- Standardize text data formats for better readability and consistency.
- Ensure numeric data conforms to expected precision or intervals through rounding.
- Modify field values dynamically during data import or integration processes without custom scripting.
- Improve data quality by removing unwanted characters, adding necessary prefixes/suffixes, or replacing patterns efficiently.
By leveraging these built-in transforms, ServiceNow customers can streamline data preparation workflows, reduce manual data cleansing efforts, and maintain high data integrity throughout their platform.
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 |