Transform maps
Summarize
Summary of Transform Maps
A transform map defines the relationships between fields in an import set and existing tables in ServiceNow, such as Incident [incident] and User [sysuser]. Once created, a transform map can be reused for different import sets targeting the same table. This module allows administrators to specify where imported data should go, often using a simple drag-and-drop interface.
Show less
Key Features
- Auto-Mapping: The system can automatically map fields, but it is important to confirm that these mappings are necessary, especially for sensitive data like encrypted passwords.
- Mapping Reference Fields: Care should be taken when mapping reference fields, as missing sysids may result in undesirable DisplayValues in target records. Performance may be affected due to the system's checks on referenced sysids.
- Multiple Transform Maps: Users can apply multiple transform maps to a single data source, leading to the creation of multiple temporary records in the import set table. Transform maps can be executed in a specified order on the same import set.
- Transform Map Scripts: Custom logic can be introduced through Transform Map scripts, which operate during the import process, allowing for advanced customization of mapping relationships and event processing.
Key Outcomes
By utilizing transform maps, ServiceNow customers can efficiently manage data imports, ensuring accurate mapping and minimizing performance issues. The ability to apply multiple maps and customize import operations enhances flexibility and control over data management processes.
A transform map is a set of field maps that determine the relationships between fields in an import set and fields in an existing ServiceNow table, such as Incident [incident] or User [sys_user].
After creating a transform map, you can reuse it to map data from another import set to the same table.
The Transform Maps module enables an administrator to define destinations for imported data on any tables. Transform mapping can be as simple as a drag and drop operation to specify linking between source fields on an import set table and destination fields on any table. Use transform mapping to map source and destination fields dynamically.
For a video overview of transform maps, see the Transform Maps video on the ServiceNow Dev Program YouTube channel.
Transform considerations
- Auto-mapping
- Double-check that fields the system maps automatically are actually required. For example, encrypted passwords probably should not be mapped.
- Mapping reference fields
- If you are mapping reference field data and the sys_id does not exist, the sys_id could potentially appear in the target record as the DisplayValue, and this may be undesirable.
Using multiple transform maps
Multiple transform maps can be applied to a single data source.
Run multiple transforms off a single import set
Users can select multiple transform maps during data import.
The selected transform maps will be executed on the same import set in the order specified.
Transform map scripts
Transform Map scripts allow you to customize import operations using a robust programming interface to introduce advanced logic.
- Explicit Transform Map scripts, which explicitly define mapping relationships
- Transformation Event scripts, which modify the processing of events at different stages of a transformation