Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

SINCE 7.0.24

Email templates may refer to the complete change log in an event notification. The variable is called: $!changeItems.

$!changeItems is a collection of Change Item objects with the below attributes.

AttributeExplanation
fieldName of the field that was changes
oldstringString representation of the old value of the field
newstringString representation of the new value of the field

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

 

 

  • No labels