Conditional Statements in E-mail Notifications

Document created by RSA Information Design and Development on Jun 13, 2017Last modified by RSA Information Design and Development on Jun 13, 2017
Version 2Show Document
  • View in full screen mode

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 Concepts

Workflow Policy

Related Tasks

Customize E-mail Notifications

 

 


Attachments

    Outcomes