Export Update Set

Surbhi16
Tera Contributor

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

1 ACCEPTED SOLUTION

ersureshbe
Giga Sage
Giga Sage

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.

Regards,
Suresh.

View solution in original post

13 REPLIES 13

Basheer
Mega Sage

Hi @Surbhi16 ,

Refer below link, it has the code to export the data.

https://www.servicenow.com/community/developer-forum/export-all-update-sets-to-xml-ui-action/m-p/143...

 

After exporting, you can have a notification to send the xml file.

 

Please hit like button if my suggestion has helped you in any way.
Please mark correct if my response has solved your query.

Cheers,
Mohammed Basheer Ahmed.

Anurag Tripathi
Mega Patron
Mega Patron

What is the use case here? What are you trying to achieve?

-Anurag

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

Yes but why, what will they do with the update set?

-Anurag