an object containing the following properties:
$id - unique id for the record, typically using Now.ID["value"]
name - display name of the import set
targetTable - table receiving the final records (e.g., incident)
sourceTable - staging/source table holding raw rows (e.g., u_import_incidents)
order? - execution order for multiple import sets; lower runs first
active? - whether the import set is enabled
runBusinessRules? - whether to run business rules on the target table
enforceMandatoryFields? - mandatory enforcement level ('no' | 'onlyMappedFields' | 'allFields')
copyEmptyFields? - whether empty source values overwrite target values
createOnEmptyCoalesce? - insert a new record when no coalesce match is found
fields? - field mappings for loading data into the target table. Each key is a target field and the value is either:
'source_field' for direct mapping, or'reject' | 'ignore' | 'create')(source) => any or a string script executed before mappingscripts? - array of transform scripts run at specific lifecycle points with:
onBefore | onAfter | onReject | onStart | onForeignInsert | onComplete | onChoiceCreate)runScript? - whether to run a top-level map script
script? - string content of the top-level map script when runScript is true
Creates an Import Set: defines how rows in a staging/source table are transformed and loaded into a target table (
sys_transform_map).