{{#if acting}} ... {{/if}}
You've encountered a common issue when transitioning from Outbound Marketing to Real-Time Journeys (CIJ/RTM) regarding custom Handlebars expressions in email HTML. While your code works in other platforms and potentially in OBM, RTM has stricter parsing and processing of Handlebars expressions, particularly around complex comparisons and lookups.
Here's a breakdown of the problem and potential solutions:
Understanding the Problem:
contact.xxx_subjectareaofinterest1id
'Acting and Drama'
if
else if
Solutions:
YOUR_ACTING_AND_DRAMA_GUID
YOUR_CRIMINOLOGY_GUID
{{#if (eq contact.xxx_subjectareaofinterest1id.name 'Acting and Drama')}} ----content---- {{else if (eq contact.xxx_subjectareaofinterest1id.name 'Criminology')}} ----content---- {{/if}}
Key Recommendations:
By using GUID comparison or simplifying your Handlebars expressions, you should be able to make your custom code work in RTM. Remember to test thoroughly and consider the user experience.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Andrés Arias as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Daniyal Khaleel 152
DAnny3211 89
Tom_Gioielli 67 Super User 2025 Season 2