References

As IdentityIQ prepares to send an email notification, the appropriate email template is loaded and its argument variables are passed into the VelocityContext where they can be accessed through VTL reference syntax. The contents of different variable types can be accessed through the syntax described in below.

Variables

$identityName${identityName}$!identityName

These three syntaxes are generally interchangeable in VTL. Shorthand notation (the first example) is the most commonly used, but each of the other two is required in special cases. Refer to the Velocity User Guide for more information.

Hash table values

$customer.Address

Returns the value corresponding to the Address key in a customer hash table

Object properties

$identity.DisplayName

Invokes the getDisplayName() method on the identity object

Note: Property notation resolves to the getter method corresponding to the property name, not to an instance variable.Nested object properties can also be retrieved with this notation.
Example: $item.Certification.Name invokes the getName() method on the Certification object retrieved through the getCertification() method on the item object

Object methods

$identity.getBundles($application)$identity.hasRole($role,'true')

Used for all non-getter methods and for any methods that require arguments