Store Event XML in Instance Variable



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;



Accepted Solutions (0)

Answers (0)