Import XML via Script instead of manual button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2020 11:47 PM
Hi,
I need to import XML data/customization from a instance to another. I am able to fetch details in an XML attachment using data sources but need to import XML using a script instead of manual Import XML button.
Please help with the solution or any other way outside ServiceNow.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2020 11:58 PM
Hi ,
Follow the below links , it might help you.
If i was able to solve your query please mark my answer correct and helpful.
Thanks & Regards
Prasant kumar sahu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2020 09:38 PM
Hi Prashant,
Thanks for the quick response. I went through the link and I believe it is importing data into Staging/Import Set Table. But we have to make transform Map to map it to target table which is additional overhead as we may have 100-1000 of tables to be imported. Hence, we wont be creating individual transform Maps for each table. It is quite time consuming and length process.
We are basically looking for a functionality like XML Import which directly imports all data into target table without any additional overhead.All we need to do is import XML, Nothing else.
Thus , we looking to automate this XML import either through Script or anything.
Looking forward for your quick response.