I'm using an split activity to count how many recipients have field A and how many have field B.
Since those are 2 segments inside the split activty I get 2 outputs. I can send an alert for each output, but I need to send a single email containing both counts of Field A and Field B.
How to do it?
Each alert has this format: Hoy <%= formatDate(new Date(), "%2D/%2M/%2Y") %> la cantidad de recipients con Email Comercial es: <%= vars.recCount %>
Bonus: how to format the <%= vars.recCount %> so it shows a "," for the thousends?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @god_prophet ,
Use JS activity after both split transitions and store its recCount in a variable.
//JS1 activity
vars.field1 = vars.recCount;
//JS2 activity
vars.field2 = vars.recCount;
And Union both the transition results and call this variable in alert activity.
Hi @god_prophet ,
Use JS activity after both split transitions and store its recCount in a variable.
//JS1 activity
vars.field1 = vars.recCount;
//JS2 activity
vars.field2 = vars.recCount;
And Union both the transition results and call this variable in alert activity.
Hi Partha, do you know how to format:
vars.field1 = vars.recCount
So instead of seeing: 1723232, it shows: 1,723,232?? In the email send?
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies