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 65Number of Views Card holders not receiving AOF and all activities shows as Attempt 22Number of Views E-mail Template Example for the Self-Service Console 78Number of Views View the Progress Monitor for Promotion for Maintenance 19Number of Views Windows - Not Receiving Application and System Events 15Number of Views
Trending Articles
Troubleshooting RSA SecurID Access Identity Router to RSA Authentication Manager test connection failures RSA SecurID Software Token 5.0.2 Downloads for Microsoft Windows RSA Authentication Manager 8.9 Release Notes (January 2026) Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory RSA Authentication Manager 8.8 Setup and Configuration Guide