pre_migration_check
Validate data migrations to ServiceNow by checking picklist values, reference integrity, required fields, and business rule conflicts. Get a pass/fail report with blocking issues and warnings before importing.
Instructions
Run all pre-migration validation checks against the target ServiceNow table before importing any data. Checks: (1) picklist/choice values, (2) reference integrity, (3) required field coverage, (4) business rule conflicts. Returns a pass/fail report with blocking issues and warnings. Always call this before run_migration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sn_table | Yes | Target ServiceNow table, e.g. incident | |
| field_mappings | Yes | { sourceField: snField } mapping object | |
| reference_fields | No | { snField: { table, lookupField } } — which SN fields are reference fields | |
| sample_records | Yes | Sample of source records (20–100) for validation |