Table of Contents

, ,

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 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) 

OLD_VALUE, GET_ATTR_VALUE