Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

Contextual Attributes with Helper function

Avatar

Level 2

I am facing some error when adding contextual attributes in if condition while trying to do some personalization in email with in a journey. 

Any idea on what could be the resolution for this ?

ajouser123_0-1696601307209.png

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@ngd_11, Can try this and see if that works.

{%#if context.journey.events.`609149095`._publicisglobalemeaptrsd.planCoverageDetails.planIssuedState = "US-MD"%} first {%else%} access {%/if%}

Thanks, Sathees

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

@ngd_11, Can try this and see if that works.

{%#if context.journey.events.`609149095`._publicisglobalemeaptrsd.planCoverageDetails.planIssuedState = "US-MD"%} first {%else%} access {%/if%}

Thanks, Sathees

Avatar

Level 2

That works @SatheeskannaK Thank you so much !!