Applies field mappings to a batch of external records, producing mapped records ready for match resolution and persistence.
External records to map
Active field map entities defining source→destination mappings
Target MJ entity name
Array of mapped records with transformed field values
Engine responsible for applying field-level mappings and transformations from external records to MJ entity fields.
The per-value transform pipeline (direct / regex / split / combine / lookup / format / coerce / substring / custom) is owned by the shared FieldTransformEngine in
@memberjunction/globaland reused here, so integration sync and the rules-based bulk-update processor run the exact same transform implementation — one place to fix, one place to extend. This engine keeps only the integration-specific concerns: source flattening, field-map iteration, and unmapped-field overflow capture. See the Field Rules guide in@memberjunction/globalfor the shared engine, andEntityFieldRulesin@memberjunction/corefor the metadata-aware entity-update sibling.