Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!
SOLVED

Conditional if no data (Reciepients) before delivery?

Avatar

Level 4

I get "personalization or count error" when my workflow's targeting has 0 results.

To avoid this I've created a split activity, where if primary key is empty, just end. Otherwise send the delivery. 

However, I've restarted the workflow, and even when there isn't any recipients, the split activity has continued by the split and the complement. Why?

ogonzalesdiaz_0-1704809837912.png

ogonzalesdiaz_1-1704809893389.png

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @ogonzalesdiaz ,

Use 'Test' Activity instead of Spilt activity, and provide the condition as 

vars.recCount > 0 

ParthaSarathy_0-1704813713801.png

 

ParthaSarathy_1-1704813762067.png

So if there are atleast 1 count, then delivery will get triggered.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @ogonzalesdiaz ,

Use 'Test' Activity instead of Spilt activity, and provide the condition as 

vars.recCount > 0 

ParthaSarathy_0-1704813713801.png

 

ParthaSarathy_1-1704813762067.png

So if there are atleast 1 count, then delivery will get triggered.