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
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.

 

Anurag Tripathi
Giga Patron

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

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?