Skip to main content
Level 2
Oct 26, 2020 4:46 PM UTC
Solved

How to extract value from XML object

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.
Sukrity_Wadhwa
Sukrity_WadhwaAccepted solution
Level 4
Nov 17, 2020 9:27 AM UTC

3 replies

Manoj_Kumar
Community Advisor
Community Advisor
Oct 26, 2020 8:22 PM UTC

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

Translate
Manoj  | https://themartech.pro
Level 2
Oct 28, 2020 7:58 AM UTC
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..
Translate
Sukrity_Wadhwa
Sukrity_WadhwaAccepted solution
Level 4
Nov 17, 2020 9:27 AM UTC