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 67Number of Views Configure E-mail Notifications for Self-Service User Account Changes 58Number of Views Using E-mail Notifications for Provisioning Requests 40Number of Views Enable On-demand Authentication by both SMS and E-mail on RSA Authentication Manager 8.6 Patch1 and higher 254Number of Views Configure and Manage Email Notifications 167Number of Views
Trending Articles
RSA Authentication Manager 8.9 Release Notes (January 2026) RSA announces the availability of the RSA SecurID Hardware Appliance 230 based on the Dell PowerEdge R240 Server How to troubleshoot Oracle database ORA-04030 errors in RSA Identity Governance & Lifecycle RSA Authentication Manager Upgrade Process Microsoft SQL Server Collectors can no longer connect to the SQL Server database after upgrade to Microsoft SQL Server 201…