You need to sign in to do that
Don't have an account?

How to add conditional statements in email template
Hi Guys,
I need to add conditional statements in HTML email template. If the case Reason value is closed then decision value should be displayed else nothing should be displayed.
I tried the below statement but it's working only if I use standard field in the condition. (Reason is a picklist field)
{!IF(Case.Reason__c = "Closed", "Decision: " +decision__c, Null)}
I need to add conditional statements in HTML email template. If the case Reason value is closed then decision value should be displayed else nothing should be displayed.
I tried the below statement but it's working only if I use standard field in the condition. (Reason is a picklist field)
{!IF(Case.Reason__c = "Closed", "Decision: " +decision__c, Null)}

Select a Template Type. Add Sections to your Email Template. For the Section that you wish to be condition, select the icon. Under the Condition Set heading, select Add Condition Set https://www.expresshr.ltd/