{{tag>Function Function_List Miscellaneous}} ====== GET_CHANGES ====== ===== Description ===== If an object was changed returns which attributes have been changed as well as old and new values ===== Syntax ===== ''GET_CHANGES (object)'' Cannot be used in the condition of a [[:ref:a_f:a:find|FIND]] action. ===== Parameters ===== Object name that has been changed ===== Returns ===== **Text**: a description of changed attributes with their old and new values. ===== Example ===== IF MyObject WAS CHANGED THEN CREATE AuditRecord WITH AuditRecord.Description = GET_CHANGES(MyObject) ===== Related ===== [[ref:a_f:f:af:old_value|OLD_VALUE]], [[ref:a_f:f:af:get_attr_value|GET_ATTR_VALUE]]