I want to extract email "Subject" 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 "Subject" from "email header parameters" under Delivery from broadLogRcp schema just to know the Subject of the emails sent out.
Solved! Go to Solution.
var query = xtk.queryDef.create( <queryDef schema="nms:delivery" operation="select" lineCount="5"> <select> <node expr="[delivery/mailParameters/@subject]" alias="@data"/> </select> </queryDef> ) var delivery = new XML(data); var res = query.ExecuteQuery();
Can you please review this and point out the right direction? thanks in advance for all your help.