Hello everyone,
A question, is there any way within a delivery to stop the sent dynamically according to the number of recipients to be sent? For example, if it exceeds 100k recipients, or if it gives an error or requires approval, but if it is less than 100k recipients, it will be executed automatically.
We are aware that one option would be to include it in a workflow with a test node to validate it before delivery, but we have a requirement to reduce the number of nodes in the workflows.
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @LAR1985 ,
Create a control type typology rule and select phase as 'After Targeting' and paste the below code,
var iToDeliver = parseInt(delivery.properties.toDeliver);
logInfo("Target Count: "+ iToDeliver);
if( iToDeliver > 100000 )
{
logError("Target count is more than 100k");
return false;
}
return true;
Hi @LAR1985 ,
Create a control type typology rule and select phase as 'After Targeting' and paste the below code,
var iToDeliver = parseInt(delivery.properties.toDeliver);
logInfo("Target Count: "+ iToDeliver);
if( iToDeliver > 100000 )
{
logError("Target count is more than 100k");
return false;
}
return true;
Views
Likes
Replies