Parse XML in ServiceNow

swapnil15
Tera Contributor

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.

 

1 REPLY 1

Sandeep Rajput
Tera Patron
Tera Patron

@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.