Expand my Community achievements bar.

Add the Default Seed Address to all the V8 Batch Campaign Delivery Templates

Avatar

Community Advisor

Hi,

We have the requirement to add the default Seed Address to all the V8 Campaign Delivery Templates and the Recurring deliveries in adobe classic Campaign and need an approach to do it.

Please suggest us a working approach,

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Community Advisor

Hi @LakshmiPravallika ,

You can try the below 2 approaches.

1. Create a technical workflow. Fetch all delivery templates and add the default seed address to all delivery templates using JS. So that existing delivery templates and new delivery templates which will be duplicated of existing templates will have this default address added. But campaign operator can be able to delete the seed address from the delivery template.

2. You can create a control type typology rule and create a script to add the default seed address to all deliveries which uses this typology rule. And now assign this typology rule to all your typologies in the instance.

Avatar

Community Advisor

Hi @ParthaSarathy 

 

I have tried using control typology rule with the below code , however it is erroring in the delivery executed.

// Always add the Global Seed address to every email delivery
var res = xtk.queryDef.create(
<queryDef schema="nms:seedMember" operation="get">
<select>
<node expr="@id"/>
</select>
<where>
<condition expr="@label = 'Test Global Seed'"/>
</where>
</queryDef>
).ExecuteQuery();

if (res && res.seedMember) {
var seedId = res.seedMember.@id;
// Use the supported API to add seed member
delivery.seedAddresses.add(seedId);
}

 

Also, in order to use the approach 1, we require it to happen before the execution of the Campaign, ie the JS can be schedulled every 5 min , however, the execution of the Campaign can happen a any time, hence it would not be feasible for us.

Could you please suggest us to make it work using control typology rule?

 

Regards,

Pravallika.