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):
This stores the evaluated subject value, avoids JavaScript, performs better in Message Center, and follows Adobe best practices.