- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2019 02:31 AM
Hello!
Before a clone I export my update sets to xml, save them in a folder, then once the clone has happened import the xml one by one. This seems like a bit of a waste of time and that we are adding a human layer in here which could be prone to error.
Is there a way of automating this so it selects all my files from a folder or selecting multiple XML files to import so they run sequentially?
Thanks a lot!
Solved! Go to Solution.
- Labels:
-
Best Practices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2019 02:43 AM
Hi Dan,
Unfortunately you would require something custom for this i.e.
1) setting up of mid server
2) write mid server script include which will fetch the xml files and upload in the instance
3) have a code similar to the one of applying update set i.e. preview, commit etc
So I think best method would be a human intervention to avoid any errors
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2019 02:43 AM
Hi Dan,
Unfortunately you would require something custom for this i.e.
1) setting up of mid server
2) write mid server script include which will fetch the xml files and upload in the instance
3) have a code similar to the one of applying update set i.e. preview, commit etc
So I think best method would be a human intervention to avoid any errors
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2019 03:40 AM
No problem, I was hoping there was an easier approach. Thanks for taking the time to reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2020 12:48 PM
what is the script that you used for the mid server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2020 09:09 PM
Hi,
Unfortunately no; I didn't take a backup of that
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader