Expand my Community achievements bar.

Get ready! An upgraded Experience League Community experience is coming in January.

Fetch the personalized subject line for Message Center broad Logs data

Avatar

Community Advisor

Hi,

We need to fetch the personalized subject line for Message Center broad Logs nms:broadLogEventHisto.

Currently its is stored in the field [delivery/mailParamters/subject].

But it is storing as Hi <%=rtEvent.ctx.firstname%>, where as the expected value is "Hi Lakshmi".
Could any one please let me know the better approach to use activities instead of Javascript, since JS is taking so long time when tried.

 

Topics

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

1 Reply

Avatar

Level 2

HI LakshmiPravallika,

                         In Adobe Campaign Classic – Message Center, the field
nms:broadLogEventHisto/delivery/mailParameters/subject stores the subject exactly as it is defined at delivery execution time, not the evaluated (personalized) value.

So if the subject is configured as:

 

Hi <%= rtEvent.ctx.firstname %>

the broad log will store the raw personalization expression, not the resolved value (for example, Hi Lakshmi). This is expected behavior by design, as Message Center logs are written before personalization is fully resolved.

Recommended approach (without JavaScript):

  • Create a custom field in nms:broadLogEventHisto (or an extension table).

  • Populate this field using an Enrichment or Update data activity with expression logic such as:

     
    Concat('Hi ', ctx.firstname)

This stores the evaluated subject value, avoids JavaScript, performs better in Message Center, and follows Adobe best practices.