Conditional Statements in E-mail Notifications
To use conditional statements in e-mail templates, you must follow the Velocity syntax rules. Velocity is a Java-based template engine that is part of the Apache Velocity Project.
Do not use the characters (<) and (>) in e-mail templates.
The following examples show how to use template tags in conditional statements:
String Example
#if(${MailCompose.TokenType}==”Android 1.x”)
Instructions for importing a software token on the Android platform.
#elseif(${MailComposer.TokenType}==”iPhone 1.x”)
Instructions for importing a software token on the iPhone platform.
#else
Generic instructions for importing software tokens.
#end
Boolean Example
#if( ${Principal.isEnabled } )
do some thing
#end
Integer Example
#if( ${ UCMRequest.Status } < 5 )
do some thing
#else
do nothing
#end
Related Articles
Customize E-mail Notifications 68Number of Views Email Notifications are not using Default Email Account in RSA Identity Governance and Lifecycle 6.x and 7.0 74Number of Views Email approvals from Outlook desktop result in "reply could not be understood" in RSA Identity Governance & Lifecycle 117Number of Views Enable Email Reply Processing options differ in approval node in RSA Identity Governance & Lifecycle 40Number of Views View Results link for role review emails in the email log return request cannot be handled error in RSA Identity Governanc… 82Number of Views
Trending Articles
RSA Authentication Manager 8.9 Patches and Hotfixes Readme RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager Patch Updates RSA Authentication Manager Upgrade Process RSA-2026-24: RSA Authentication Manager Security Update for Third-Party Component Vulnerabilities