Parse XML in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2023 08:15 AM - edited 10-11-2023 08:16 AM
Hi All,
I have a requirement to - Fetch data from an XML file (received as SMTP email) which is in the sys_email table and push the data to the incident table. I am already done with the requirement of creating an incident once the mail is received by using Inbound Email Action. I would like to edit the same script and modify it to build a logic for fetching data from XML and pushing it into the newly created incident.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2023 12:01 PM
@swapnil15 Please refer to this documentation https://docs.servicenow.com/bundle/utah-application-development/page/script/server-scripting/concept... to know the steps to parse XML in ServiceNow.