XML Import does not import the contents of work note and additional comment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2022 01:18 AM
Hi.
Imported Incident data between instances in XML format.
But, content posted in work note and additional comment is not imported.
Do I need to set anything in the Transform map?
Thank you!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2022 01:23 AM
Hi
- Export Incidents, Change Requests etc. (whichever Task-derived record types you're interested in) from the source instance as XML, import to the target instance. DO NOT open any of the newly imported Incidents/Change Requests etc in the UI on the target instance yet
- Export the sys_journal_field records (as XML) for the Task-derived records exported in step 1 and import them into the instance
- Export Audit[sys_audit] records from the source where sys_audit.documentkey matches the sys_id's of the records exported/imported in step 1
- If you have viewed any of the records imported in step 1 in the UI of the target instance since the import: Delete the History Set[sys_history_set]/History Line[sys_history_line] records for those records. This can be done through the UI by opening the sys_history_set table
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2022 01:51 AM
Thank you for answering my question.
I'm doing the import in Scheduled Import at a specified time.
What do I need to do to set the steps you've taught to Scheduled Import?
Thank you!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2022 02:51 AM
HI,
This was not your original question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2022 02:54 AM
Hi,
data for work_notes and comments is not stored in incident table but present in sys_journal_field
what's your business requirement here?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader