map_users
Resolves source-platform users to ServiceNow sys_user IDs by matching against loaded users and groups, using a fallback for unmatched entries.
Instructions
Load all ServiceNow users and groups into memory, then resolve a list of source-platform users (Jira / Salesforce) to ServiceNow sys_user sys_ids. Returns a match report with matched/unmatched lists and the fallback user used. Call this before running a migration that has assignee / owner / reporter fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_users | Yes | Array of source platform users to resolve | |
| fallback_user_email | No | SN user email to use when no match is found | |
| fallback_group_name | No | SN group name to use when no group match is found |