Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Access list of recipients from a typology rule

imms92896578
Level 1
Level 1

Hi,

I would like to implement a typology rule that executes some controls on the recipients of a  delivery.

I have no problem to access the data of the delivery itself.

How can I access the list of the recipients from the script?

Thank you in advance.

1 Accepted Solution
Jean-Serge_Biro
Correct answer by
Community Advisor
Community Advisor

Hi Imms,

There are at least 3 replies on same subjects, as far as I remember, advising to use the advanced parameters of typology rules:

'Email Marketing pressure' limitation feature

Typology Rules

Re: Limit an amount of three emails sent per day to one recipient

Of course, the typology rule pressure fields allow a lot of flexibility but are based on database fields criteria (so more or less underlying SQL expressions).
If you really need to use Javascript for a reason or another, I strongly recommend you to calculate the weights but let the engine behaves as standard, not developing at the delivery level itself (such as delivery work tables).

Regards
J-Serge

View solution in original post

3 Replies
florentlb
Level 10
Level 10

Hi,

Can you specify which version of Campaign you are working with? I suspect Classic since you're referring to 'recipients'. Here is the documentation about creating typology rules, including pressure rules for recipients:

https://docs.campaign.adobe.com/doc/AC/en/CMP_Campaign_Optimization_Consistency_rules.html

Florent

imms92896578
Level 1
Level 1

Hi

I'm well using Campaign classic.

The validation I would like to do is not just pressure but more advanced validations on the recipients to who the delivery is going to be sent. For doing that, I thought to use a "control" typology rule, with javascript code.

After some search I found that a working table is created during delivery execution (wkDlv_xxx), but I'm wondering whether there is an easy way to access the list of récipients of a delivery, through objects. I tried the 'delivery.broadLogRcp", but at the time of the rule execution this collection is empty.

Thank you in avance.

Jean-Serge_Biro
Correct answer by
Community Advisor
Community Advisor

Hi Imms,

There are at least 3 replies on same subjects, as far as I remember, advising to use the advanced parameters of typology rules:

'Email Marketing pressure' limitation feature

Typology Rules

Re: Limit an amount of three emails sent per day to one recipient

Of course, the typology rule pressure fields allow a lot of flexibility but are based on database fields criteria (so more or less underlying SQL expressions).
If you really need to use Javascript for a reason or another, I strongly recommend you to calculate the weights but let the engine behaves as standard, not developing at the delivery level itself (such as delivery work tables).

Regards
J-Serge

View solution in original post