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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Store Event XML in Instance Variable


Level 2

Hi there

I am trying to understand how I extract an XML data node and store it within an instance variable inside a workflow. I've tried looking everywhere for help on how to do this but cannot find anything. I have limited JS knowledge but am assuming this must be possible somehow. Below are some examples of the XML and what I am currently trying within the workflow. Any help would be appreciated.

XML looks like this:








Then within a JavaScript code node I have this:

var ctx = XML(ams.<companyname>MessagingEventQueue.ctx);

instance.vars.custName = ctx.CUSTOMERNAME;



0 Replies