i am trying to do this:
Solved! Go to Solution.
Views
Replies
Total Likes
hi @arnav21 ,
You can get recipients click using expr= "[indicators/@recipientClick]"
Example,
var query = xtk.queryDef.create(
<queryDef schema="nms:delivery" operation="select" >
<select>
<node expr= "@id" />
<node expr= "[indicators/@recipientClick]" />
</select>
<where>
<condition expr="@id = 12345"/>
</where>
</queryDef>
)
var result = query.ExecuteQuery();
for each (var output in result.delivery)
{
vars.id = output.@id;
vars.recipientClick = output.indicators.@recipientClick;
logInfo("id : " + vars.id);
logInfo("recipientClick : " + vars.recipientClick);
}
hi @arnav21 ,
You can get recipients click using expr= "[indicators/@recipientClick]"
Example,
var query = xtk.queryDef.create(
<queryDef schema="nms:delivery" operation="select" >
<select>
<node expr= "@id" />
<node expr= "[indicators/@recipientClick]" />
</select>
<where>
<condition expr="@id = 12345"/>
</where>
</queryDef>
)
var result = query.ExecuteQuery();
for each (var output in result.delivery)
{
vars.id = output.@id;
vars.recipientClick = output.indicators.@recipientClick;
logInfo("id : " + vars.id);
logInfo("recipientClick : " + vars.recipientClick);
}
yeah it's worked Thanks alot!
Views
Likes
Replies
Views
Likes
Replies