Contextual Attributes with Helper function | Community
Skip to main content
Level 2
October 6, 2023
Solved

Contextual Attributes with Helper function

  • October 6, 2023
  • 1 reply
  • 1068 views

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 ?

 

Best answer by SatheeskannaK

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

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

1 reply

SatheeskannaK
Community Advisor
SatheeskannaKCommunity AdvisorAccepted solution
Community Advisor
October 6, 2023

@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
ngd_11Author
Level 2
October 6, 2023

That works @satheeskannak Thank you so much !!