Expand my Community achievements bar.

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