In a workflow, I have a segmentation that creates 4 audiences with 4 respective deliveries, but in some cases, the result of that segmentation is 0. Nevertheless, the delivery runs and generates a delivery log with 0 recipients. This clouds my reports. Do you know what solution I could find?
@Sukrity_Wadhwa Thanks for answering previous questions!
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Javi_Landa ,
You can have 'Test' activity before delivery as below,
And give the condition as vars.recCount > 0 inside Test Activity
So, when the workflow runs, if the result is more than 0, then only delivery will gets created.
Hi @Javi_Landa ,
You can have 'Test' activity before delivery as below,
And give the condition as vars.recCount > 0 inside Test Activity
So, when the workflow runs, if the result is more than 0, then only delivery will gets created.
Hello! I appreciate your response, and I largely agree with your points. However, I'm exploring other options that might be cleaner or more sophisticated.
I appreciate your assistance, and I'm open to any additional suggestions you may have, To not fill the workflow pannel with a lot of different activities,
Thanks in advance!
Views
Replies
Total Likes
you can also do the same in the initialization script of the delivery activity. If vars.recCount = 0, then mark the activity as complete and move on to the next transition.
I don't have the code with me, I would have shared it.
Parthasarathy's solution is the standard and clean approach, adding code to your delivery activity init script is not as clean.
BR,
Ishan
Views
Likes
Replies
Views
Likes
Replies