- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2025 09:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2025 09:47 PM
Hi @SandeepKSingh
Here are two ways:
1. Transfer record via XML export.
2. We can use GlideUpdateManager2 API script as shown below which allows us to capture any record in current update set:
var um = new GlideUpdateManager2();
um.saveRecord(current);
//current is gliderecord object, you can pass any other gliderecord object if required.
Note : This script needs to run in background script.
If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!
Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI
YouTube: https://www.youtube.com/@learnservicenowwithravi
LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2025 09:47 PM
Hi @SandeepKSingh
Here are two ways:
1. Transfer record via XML export.
2. We can use GlideUpdateManager2 API script as shown below which allows us to capture any record in current update set:
var um = new GlideUpdateManager2();
um.saveRecord(current);
//current is gliderecord object, you can pass any other gliderecord object if required.
Note : This script needs to run in background script.
If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!
Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI
YouTube: https://www.youtube.com/@learnservicenowwithravi
LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2025 09:56 PM
Thanks @Ravi Gaurav thanks for the script will check
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2025 10:06 PM
Thanks @Ravi Gaurav this worked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2025 09:50 PM
1. Export and Import XML
- Best for individual records like system properties, roles, or configurations.
- Steps:
- Right-click the record header → Export → XML.
- Import the XML in the target instance via Import XML.
2. Data Export and Import
- Best for bulk data like table records or list views.
- Steps:
- Export data from the source using Export > Excel/CSV.
- Import it into the target instance using Load Data → Map fields.
3. Manual Transfer
- Best for scripts, email templates, and notifications.
- Steps:
- Copy the content from the source instance.
- Paste it into the respective section of the target instance.