- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2023 07:55 AM
Hi Experts,
Need assistance on below:
1. Export Update set using a Script and then automatically send that XML export as an attachment with an email to an user.
Kindly assist!
Regards,
Surbhi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2023 05:37 AM - edited 01-31-2023 05:39 AM
Hi,
I recommend to use ?UNL& to download the xml. ie.,
https://dev123.service-now.com/sys_update_set.do%3Fsys_id%3D29042a001ba86510f40fa68a234bcbae%26
https://dev123.service-now.com/sys_update_set.do?UNL&sys_id%3D'sys_idofUpdateSet'%26
This is OOB feature. You can use and download as xml file.
Suresh.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2023 09:45 AM
Hi @Surbhi16 ,
Refer below link, it has the code to export the data.
After exporting, you can have a notification to send the xml file.
Please mark correct if my response has solved your query.
Cheers,
Mohammed Basheer Ahmed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2023 09:47 AM
What is the use case here? What are you trying to achieve?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2023 11:22 PM
Thanks @Anurag Tripathi for your response.
We are trying to send the update set as an attachment in an email to our internal folks based on certain requirement.
Regards,
Surabhi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2023 06:40 AM
Yes but why, what will they do with the update set?