Discussions
Can you put code in the subject line on a email template
I am trying to put an if statement in a subject line of a email expense report template. The issue is it prints out the name and the code. How do I get it just to print the name and then print a role if there is no name. See below: That is what prints with the name. So is this possible or am I missing something?
Subject${typeLabel!''} # ${transubject!''} is Pending Approval<#if approverName?has_content> - $Ronald Mjuweni<#elseif role?has_content> - $</#if>