{{tag>Function Function_List Miscellaneous}} ====== OLD_VALUE ====== ===== Description ===== Returns the old value of the attribute before it was changed ===== Syntax ===== ''OLD_VALUE (attribute)'' Cannot be used in the condition of a [[:ref:a_f:a:find|FIND]] action. ===== Parameters ===== An attribute of a business object or group ===== Returns ===== **Same type as the attribute**: the attribute's value before the current change (undefined for a new object or a reference attribute) ===== Example ===== IF OLD_VALUE(Account.Balance) = 100 THEN ... ===== Related ===== [[ref:a_f:f:af:get_changes|GET_CHANGES]], [[ref:a_f:f:af:get_attr_value|GET_ATTR_VALUE]]