How to import data with related list records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 12:14 AM
Hello Community,
we are trying to import the data from one personal dev instance to other, But we are facing some issue here.
We have lot of records in instance A having records with related list records .Can anyone have any idea how to import with related list records as well?
Thanks,
Steve An
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 12:50 AM
is there any sample script to move the data with related records.
Thanks,
Steve An
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 01:41 AM
Hi,
Please find below link. Only change you should point the releated list table.
Regards,
Suresh.
Suresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 01:42 AM
Adding one more link for further reference.
Regards,
Suresh.
Suresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 02:01 AM - edited 10-10-2022 02:07 AM
Hi @Steveanner ,
Even if you export XML and import on target this will not work for related list data.
But you you can try below steps.
1. First export the all the records in XML and then Export all the related list records.
2. First import the normal data and then import on related list data on related list table.
Example: if we need to import incidents data and related incident task.
First import the incidents(incident table) and then incident tasks(incident_task table).
ServiceNow Community MVP 2024.
Thanks,
Pavankumar