What This Table Is
The sys_transform_entry table stores individual field mapping definitions within ServiceNow Transform Maps. Each record represents a single mapping from a source data column to a target table field, defining how data flows during imports. These entries control field-level transformation logic, coalesce behavior, and data validation during the transformation process.
Owned by the Integration module, this table supports the end-to-end data import process from external systems into ServiceNow tables. Transform entries execute during Import Set processing, taking raw source data and applying business logic to populate target records. The table works in conjunction with sys_transform_map records to define complete data transformation workflows.
This table has no parent/child relationships through extension, but maintains tight coupling with Transform Maps and Import Sets. Each transform entry belongs to exactly one transform map, and multiple entries combine to define the complete field mapping strategy for a data integration.
Record volumes typically range from 10-50 entries per transform map in most implementations. Large enterprise integrations might see 100+ entries per map when dealing with complex source systems. Performance remains strong since queries usually filter by map reference, and the table includes proper indexing on key fields.
When You'll Script Against This Table
Most scripting occurs in Transform Scripts (field-level script field), Script Includes for reusable transformation logic, and Business Rules that customize transform behavior. Integration administrators and developers with import_transformer role access this table directly. System administrators can view and modify all transform entries.
Background Scripts and Import Set processors frequently query this table to understand mapping configuration and apply custom transformation logic. The table supports both programmatic creation of transform entries and runtime inspection of mapping definitions during data processing.
Common Scripting Patterns:
- Query all field mappings for a specific transform map to build dynamic processing logic
- Programmatically create transform entries when building integrations via API
- Disable or modify field mappings based on runtime conditions or source data characteristics
- Validate transform entry configuration before import processing begins
- Clone existing transform entries when creating similar transform maps
- Audit and report on field mapping coverage across multiple integrations
- Implement conditional field mappings that vary based on source data content
Enjoying this? Get one deep-dive per week.
Join 1,000+ ServiceNow pros — scripts, GlideRecord patterns, Flow Designer techniques, and career moves. Free.
Table Gotchas
The source_field value must exactly match column names in the Import Set table, including case sensitivity. Mismatched names cause silent mapping failures.
Transform entry scripts execute in the transform map's scope context, not the global scope. Variables and functions must be properly scoped or accessed via GlideSystem methods.
- The
coalescefield only accepts specific values: empty, true, or false. Invalid values default to false and cause unexpected behavior. - Transform entry
activefield defaults to true, but inactive entries still appear in mapping lists and can confuse administrators. - Choice field mappings require exact choice value matches, not display labels. Use choice table values in source data or transform scripts.
Queries without map reference filters scan the entire table. Always include the map field in queries for optimal performance.
- Reference field mappings automatically resolve display values to sys_ids, but this fails silently if multiple records match the display value.
Related Tables
The sys_transform_map table serves as the parent container for transform entries. Every entry belongs to exactly one transform map, and developers frequently join these tables to understand complete integration configuration. Transform maps define the source Import Set table and target ServiceNow table, while entries define individual field mappings within that context.
Import Set tables (sys_import_set_row extensions) provide the source data that transform entries process. Developers query both tables together when troubleshooting data transformation issues or building custom import validation logic. The sys_import_set table tracks import batches and their processing status.
Target table schemas drive transform entry configuration, making sys_dictionary and sys_db_object commonly referenced during transform development. Field types, reference qualifiers, and choice lists in the target table determine valid mapping configurations and transformation requirements.