- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2023 03:52 AM
Can anyone guide me the end to end process of importing data to an M2M table in servicenow?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2023 04:41 AM
M2M table referes to two tables for which the M2M relationship is configured. If you are importing data using Import Sets then you have to get sys_id of both columns from both tables and set the field values.
Use script to get sys_id of required record if your excel does not contain sys_id.
Also there are many other ways to map data, it depends on your data and tables involved.
Thanks
Anil Lande

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2023 04:37 AM
Hi,
Can you please explain what is your use case and what you have tried? Where exactly you need help?
Thanks
Anil Lande

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2023 04:41 AM
M2M table referes to two tables for which the M2M relationship is configured. If you are importing data using Import Sets then you have to get sys_id of both columns from both tables and set the field values.
Use script to get sys_id of required record if your excel does not contain sys_id.
Also there are many other ways to map data, it depends on your data and tables involved.
Thanks
Anil Lande