Export record using powershell to xml

SnowDevOps
Giga Guru

Hello Team

I don't know if this is doable in ServiceNow or not. I want to export an incident record(s) to xml file using PowerShell when the user click on the save button. But i just want to export certain fields on the record. Also the attachment on the record. 

for example: I just want these fields below into xml file

Number | Caller |Email

Category  | Short Description | Description  State 

Impact | Urgency | Priority | Assignment Group

SnowDevOps_0-1733338391853.png

 

1 REPLY 1

Sanjay191
Tera Sage

Hello @SnowDevOps 
Please Refer this below docs for this 
https://www.servicenow.com/docs/bundle/xanadu-application-development/page/script/server-scripting/c...


If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Thank You