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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Using a Segment Code as a Delivery Code

rossc47800017
Level 2
Level 2

Hi, I'm trying to work out if there is a way to dynamically populate the 'Delivery Code' field in a delivery with a 'segment code' field in a split?

<%=targetData.segmentCode%> doesn't work and I've also tried giving the segment Code an alias in an enrichment.

IS there a different target I should be referencing?

Thanks.

3 Replies
Venu_Reddy
Community Advisor
Community Advisor

Hi rossc47800017​,

Segment Code, as this column comes in Temporary Schema and it's not saved in the database.

Each activity has it's own Segment Code but, all the Segment Codes have same Alias as well as Column Name in the Temp Schema i.e. Segment code (@segmentCode).

So, before the delivery you can have one split activity, in which you can filter out the recipients who have Segment Code as Empty and send the delivery to only those which have Segment Code value populated.

For more details click here Targeting data

Regards,

Venu

AbdulZa
Level 4
Level 4

Hi,

Delivery code and segment code are two different attributes and they are populated in Adobe mart at two different levels. Delivery code is an attribute of Delivery (NMSDelivery) vs. Segment Code is an attribute of the universe targeted in a delivery and the proper location for segment code attribute is BroadLogRcp table.

The segmentation of the campaign universe is not always dependent on # of deliveries. It is possible to have more segments (via split activity node) but a single delivery (behavior analysis).

I recommend to re-evaluate the use of these codes in your system.

Thanks.