Dear community
How to split inbound transition data into small segments and send those segments on different dates using JavaScript.
Example: Around 100,000 recipients are coming from an inbound transition. I want to target these audiences on different dates.
Day 1: 8,000, Day 2: 9,000, Day 3: 12,000, Day 4: 15,000, Day 5: 25,000, etc.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @chandanasa ,
JavaScript functions has some count limitations. Lets say QueryDef by default can process 10000 records at a run. We can increase the counts by syntax such as forceNoLineCount. But due to performance issue this is not advisable to use for huge counts.
So, you can either plan by sending multiple waves or by using split activity as below,
In Split's subset1 > Limit the count to 8000 as below screenshot.
And add another subset and label as Day 2 and Limit the count as per your requirement. Repeat the same for other days by adding subsets.
After split, add wait activity next to each transition and wait period as 1d for day2 transition, then 2d, 3d etc for other wait activities..
Hi @chandanasa ,
Go to Delivery > Property > Delivery tab > Enable 'Send using multiple waves' > select 'schedule waves according to a calendar' > and give value in start as 0s, 1d, 2d, 3d and so on.. and size values as per your requirement.
Views
Replies
Total Likes
Thank you for your response, but I need to solve this issue using a JavaScript activity instead of using multiple waves in the delivery. Can you please help me if you have time?
Views
Replies
Total Likes
Hi @chandanasa ,
JavaScript functions has some count limitations. Lets say QueryDef by default can process 10000 records at a run. We can increase the counts by syntax such as forceNoLineCount. But due to performance issue this is not advisable to use for huge counts.
So, you can either plan by sending multiple waves or by using split activity as below,
In Split's subset1 > Limit the count to 8000 as below screenshot.
And add another subset and label as Day 2 and Limit the count as per your requirement. Repeat the same for other days by adding subsets.
After split, add wait activity next to each transition and wait period as 1d for day2 transition, then 2d, 3d etc for other wait activities..
Views
Likes
Replies
Views
Likes
Replies