I want to save the record data as an XML file in the attachment TBL.

bonsai
Mega Sage

I would like to get a backup of record data.

I would like to periodically get an XML file of one week's worth of record data.

I would like to convert the records of the target table into XML files and save them in the attachment table.

Is it possible to do this with a script?

1 ACCEPTED SOLUTION

@bonsai 

Since you want backup of data, why not use archival?

I don't think any other way but you might have to use a custom solution to export the XML but you will have to copy that file somewhere within the instance.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

5 REPLIES 5

@bonsai 

Since you want backup of data, why not use archival?

I don't think any other way but you might have to use a custom solution to export the XML but you will have to copy that file somewhere within the instance.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader