Moving work notes and comments between two instances
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2018 01:35 AM
Hello All,
I'm trying to migrate work notes and comments (journal fields) between two servicenow instances. The tables I'm checking for the data are sys_journal_field and sys_audit. Sometimes, the specific audit records aren't available as the sys_audit table gets cleaned up quite often. Should I fabricate sys_audit records for this if it is missing? What are the required tables I need to migrate for moving the comments and work notes (activity log) of a record? do I need sys_history_set and sys_history_line as well? these tables get populated dynamically for a record only if the record is open on UI? is there a way to simulate this through script? Another thing I noticed was that, after importing the respective table records for a work note, the incident needs to be updated or saved for the work notes o show up. let me know in case there is a procedure to this is. Would be of great help. Thanks in advance.
Thanks,
Shibu
- Labels:
-
Scripting and Coding
-
Team Development
- 1,455 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2018 01:39 AM
Hi!
Use Soap or REST API's
REST API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2018 01:29 AM
Thanks Stewe. I would like to know which tables should would be useful for replicating records with the journal entires in a different instance.
1)sys_journal_field
2)sys_audit (sometimes the sys_audit records aren't available. Should I fabricate it in that case for each sys_journal_field. Let me know. Thanks.)
3)sys_history_set (Is this relevant?)
4)sys_history_line (Is this relevant?)
Thanks,
Shibu

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2018 08:35 AM
It depends on the requirements and how granular the data has to be.
And I'm not that familiar with how this works, so I can only guesstimate.
Sorry for the late replay
/Stewe