Changelog information in email templates

SINCE 7.0.24

Email templates can refer to the complete change log in an event notification. The variable is $!changeItems. $!changeItems is a collection of Change Item objects with the attributes below:

Example template code to loop through the change items:

#foreach($changeItem in $!changeItems)
Field name: $!changeItem.getString("field")
Old value: $!changeItem.getString("oldstring")
New value: $!changeItem.getString("newstring")
#end

The same construct is used by the renderChanges macro.

Last updated