How to extract value from XML object

Avatar

Avatar

CSLTGUPTAA

Avatar

CSLTGUPTAA

CSLTGUPTAA

26-10-2020

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Sukrity_Wadhwa

Employee

Avatar

Sukrity_Wadhwa

Employee

Sukrity_Wadhwa
Employee

17-11-2020

Answers (1)

Answers (1)

Avatar

Avatar

_Manoj_Kumar

MVP

Avatar

_Manoj_Kumar

MVP

_Manoj_Kumar
MVP

26-10-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