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

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.

@ersureshbe 

Thank you for your response.

Make sense I was able to replace the Sys id in the URL format you mentioned above, but how can we attach this to an email as well .

 

As my requirement is to export and attach that Update Set XML and send it in an email as well. Can you please shed some light on how we can achieve this.

Hi, 

The export as an xml will download to your local drive. If you want to attach the xml to email we should write the script. Before that,  why updateset xml file should sent in an email. What was the business benefit of this?

 

If they want to download who is that user? What is role-playing in the business? The reason for these questions, you can send an email with the link where the update set is located.

Regards,
Suresh.

meg5
Tera Contributor

Hi Surbhi, I have a similar kind of expectation. Rather than attaching it in an email, I have to attach it to a record. Can you let me know how did you achieve this?