How to extract value from XML object | Community
Skip to main content
New Participant
October 26, 2020
Solved

How to extract value from XML object

  • October 26, 2020
  • 2 replies
  • 2501 views

Hi, 

I want to extract email value from email header parameter (which is xml object) from broadLogRcp(deliveries) 

in my workflow. Any insight/sample code would be highly appreciated. 

Example : I want to extract user's email from "email header parameters" from broadLogRcp schema just to know who are all useds were targeted and an email sent out to them. 

Currently user's email in email header parameter is in XML object format so directly we can get the value so I am trying to write one JavaSCript code for the same, so need help to find a solution around this. appreciate your time on this.

Looking forward...

-CSLTgupta

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Sukrity_Wadhwa
Sukrity_WadhwaAccepted solution
Employee
November 17, 2020
_Manoj_Kumar_
New Participant
October 26, 2020

Hello @csltguptaa ,

 

You can refer to this page for who to parse the XML with javascript.

 

https://www.w3schools.com/xml/xml_parser.asp

 

Thanks,

Manoj

     Manoj     Find me on LinkedIn
New Participant
October 28, 2020
Hi Manoj, thanks. Do you have any example or sample code for the same? If yes that would be really helpful for the same. Appreciate your response..