- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
@AmitNope insert idea seems did not worked
if(res.@email!=''){
nms.delivery.QueueNotification('mediaconfirmationwid',
<delivery>
<targets>
<deliveryTarget>
<targetPart type='query' exclusion='false' ignoreDeleteStatus='false'>
<where>
<condition expr={'@id ='+ res.@id}/>
</where>
</targetPart>
</deliveryTarget>
</targets>
</delivery>)
} else
{
var rcpt = <recipient xtkschema = "nms:recipient" _operation = "insert" email={ctx.vars.MediaEmail}/>;
xtk.session.Write(rcpt);
nms.delivery.QueueNotification('mediaconfirmation',
<delivery>
<targets>
<deliveryTarget>
<targetPart type='query' exclusion='false' ignoreDeleteStatus='false'>
<where>
<condition expr={'@email='+ctx.vars.MediaEmail}/>
</where>
</targetPart>
</deliveryTarget>
</targets>
</delivery>)
}
Views
Replies
Total Likes