- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2018 11:16 AM
Is there an out of box way to process an XML import file via script rather than GUI? ( instead of going to "Import XML" have a script that pulls the file by location or content and processes it? )
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2018 04:34 AM
No good global solution was found unfortunately. You could probably get away with doing it for 1 or a handful of tables if you are really careful, but it is probably not worth it in that regard.
I checked with SN and they said the actual import process cannot be called via script. Disappointing, hopefully one day "releases" into service-now will be able to be automated!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2018 11:29 AM
I'm not sure you can do that exactly, but what are you trying to accomplish overall with this? There may be a different method you can use like a REST API integration, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2018 11:52 AM
Part of our release process sometimes involves importing XML files after update sets have been committed, looking to make it simpler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2018 01:19 PM
You may find this older post useful. It describes how to upload an update set via API but it should work as well for XMLs of records too:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2018 01:30 PM