Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to extract value from XML object

Avatar

Avatar
Validate 1
Level 1
CSLTGUPTAA
Level 1

Likes

0 likes

Total Posts

17 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
CSLTGUPTAA
Level 1

Likes

0 likes

Total Posts

17 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
CSLTGUPTAA
Level 1

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
Validate 1000
Employee
Sukrity_Wadhwa
Employee

Likes

140 likes

Total Posts

856 posts

Correct Reply

35 solutions
Top badges earned
Validate 1000
Validate 500
Validate 250
Validate 100
Validate 25
View profile

Avatar
Validate 1000
Employee
Sukrity_Wadhwa
Employee

Likes

140 likes

Total Posts

856 posts

Correct Reply

35 solutions
Top badges earned
Validate 1000
Validate 500
Validate 250
Validate 100
Validate 25
View profile
Sukrity_Wadhwa
Employee

17-11-2020

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
MVP
_Manoj_Kumar
MVP

Likes

111 likes

Total Posts

309 posts

Correct Reply

97 solutions
Top badges earned
Validate 1
Contributor
Ignite 1
Shape 1
Give Back 5
View profile

Avatar
Validate 1
MVP
_Manoj_Kumar
MVP

Likes

111 likes

Total Posts

309 posts

Correct Reply

97 solutions
Top badges earned
Validate 1
Contributor
Ignite 1
Shape 1
Give Back 5
View profile
_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