- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Your example :
<delivery>
<targets>
<deliveryTarget>
<targetPart>
<where>
<conditionexpr="@id=123"/>
</where>
</targetPart>
</deliveryTarget>
</targets>
</delivery>
by the way what is @ID here ( is it the primary key of recipient table? )
so can I write like below :
pulling the primary keys from vars.tablename (which is a table generated from query activity)
var arrayValues=[primary keys OR Email ids];
for ( var i=0;i<arrayValues;i++)
{
NLWS.nmsDelivery.SubmitNotification("prdDM30931",<delivery>
<targets>
<deliveryTarget>
<targetPart>
<where>
<condition expr="@id="+arrayValues[i]/>
</where>
</targetPart>
</deliveryTarget>
</targets>
</delivery>)
}
Will this work?
Views
Replies
0 Likes
Total Likes