check_migration_state
Analyze existing migration artifacts for a given source-to-target combination. Returns a gap analysis showing what exists, what is missing, and what needs to be added to prevent duplicate creation.
Instructions
Inspect ServiceNow to see what migration artifacts already exist for a given source→target combination. Call this at the very start of any migration session (before build_artifacts) to avoid re-creating things. Returns a gap analysis: what exists, what's missing, and what needs to be added. Works for ANY source platform and ANY ServiceNow target table.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | Source platform (salesforce, jira, or any registered connector) | |
| object_name | Yes | Source object / project key (e.g. KAN, Account, Case) | |
| sn_table | Yes | ServiceNow target table (e.g. incident, problem, change_request, cmdb_ci) | |
| staging_table | No | Override staging table name — auto-derived if omitted |