<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y000091JDNeSAOOkta Classic EngineAdministrationAnswered2024-04-16T11:56:51.000Z2020-07-22T17:31:25.000Z2020-08-06T21:08:02.000Z

3l5bw (3l5bw) asked a question.

how to use ternary operator in EMAIL template

Is there any way that we can use ternary operator in email template ?

I'm trying to do the following in email template :

 

if the user belongs to group1 , I have to give append content in mail template as <td> 'Welcome' </td>

 

if the user belongs to group2 , I have to give append content in mail template as <td> 'Thanks for joining' </td>.

 

So how to use ternary operator for this iniside Email template?

 

Note: I tried some EL function , that is allowing only certain function to use.


This question is closed.
Loading
how to use ternary operator in EMAIL template