- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi Wodnicki,
The code I am using is as follows:
var winner = xtk.queryDef.create(
<queryDef schema="nms:delivery" operation="select">
<select>
<node expr="@id"/>
<node expr="@label"/>
<node expr="@internalName"/>
</select>
<where>
<condition expr={"@FCP=0 and [@internalName] in ('em123','em124','em125','em126') and @isModel=0"}/>
</where>
<orderBy>
<node expr="[indicators/@estimatedRecipientOpenRatio]" sortDesc="true" />
</orderBy>
</queryDef>)
res = winner.ExecuteQuery();
for each (var row in res)
{
logInfo(row.@internalName)
}
I tried reading the rows through for each, not getting the seond highest delivery internal name though, please help ASAP.
Regards,
Mustufa
Views
Replies
Total Likes