Expand my Community achievements bar.

Never miss an update of the Adobe Journey Optimizer Community Lens! Subscribe now to get the latest updates, insights, and highlights delivered straight to your inbox every time a new edition drops.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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