Access list of recipients from a typology rule

Avatar

Avatar
Validate 1
Level 1
imms92896578
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
imms92896578
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
imms92896578
Level 1

16-04-2018

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
MVP
Jean-Serge_Biro
MVP

Likes

353 likes

Total Posts

464 posts

Correct reply

153 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Validate 1
MVP
Jean-Serge_Biro
MVP

Likes

353 likes

Total Posts

464 posts

Correct reply

153 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 250
View profile
Jean-Serge_Biro
MVP

20-04-2018

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

Answers (2)

Answers (2)

Avatar

Avatar
Validate 1
Level 1
imms92896578
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
imms92896578
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
imms92896578
Level 1

20-04-2018

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.

Avatar

Avatar
Give Back 50
Level 10
florentlb
Level 10

Likes

237 likes

Total Posts

1,109 posts

Correct reply

239 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 200
View profile

Avatar
Give Back 50
Level 10
florentlb
Level 10

Likes

237 likes

Total Posts

1,109 posts

Correct reply

239 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 200
View profile
florentlb
Level 10

19-04-2018

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