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
Rules are not triggered after unification run in RSA Identity Governance & Lifecycle 80Number of Views Previewing Role changes prior to Applying those changes shows other incorrect/unrelated changes to the Role in RSA Identit… 31Number of Views Customize E-mail Notifications 68Number of Views Enable Email Reply Processing options differ in approval node in RSA Identity Governance & Lifecycle 40Number of Views RSA Authentication Manager Prime Help Desk Admin Portal Unlock User option grayed out 163Number of Views
Trending Articles
Download RSA SecurID Access Cloud User Event audit logs using Cloud Administration REST API CLU RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory Authentication Manager Security Console and Operations Console Inaccessible After Certificate Update Authentication Manager How to Retrieve the LDAPS Certificate and Configure an External Identity Source to Use LDAPS