message

Hello,
I have the following

... ---- ... ----

</ mySap>
I want to extract … </ order> and save it in TN, what are the steps to follow

use xmlStringToxmlNode, to convert the inbound xml to node, than use xmlNodeToDocument ( you need to provide the doc type associated with this document), to convert the node to document.

Using branch statement, traverse to the xpath ( ‘/doctype/mySap/…/Order’), and get the field you are looking for.

use addContentPart service, to add the value to tn document.

Here is the exact file:

<?xml version="1.0" encoding="ISO-8859-1"?> gdf001 testmccann gdf001 testmccann gdf001 testmccann [LEFT] I want to extract the "order" when messageType = 'Order' [/LEFT]