Skip to main content

I need to add the case description in the email template if the case origin is "Website". 

As it's currently not possible to use conditional statemements in email template in Lightning (IdeaExchange), what could be a work around to achieve this?

 

below code throws this error:

This template doesn’t support SML merge fields. Use the merge field picker to replace merge fields starting with "{!".: HTML Value

{!IF({!Case.Origin ="Website",Case.Description, "")}or {!IF(​​​​​​​ISPICKVAL(!Case.Origin} , 'Website'),{!Case.Description}, '')}

 

thank you!

6 respuestas
0/9000