Export record using powershell to xml
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2024 10:59 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2024 12:01 AM
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