GlideElement - changes()

Determines if the current field has been modified, if the field is a reference, integer, or string field.

This method does not detect changes to Journal fields.
Note: The changes() method is not supported within ACL scripts.
Note: If the GlideRecord on which you are performing this method has only been initialized and read, and has not been written, the underlying before-and-after values are the same. In this case, the method returns "false", as there has been no change to the data store.
Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
Boolean True if the field has changed, false otherwise.

Scoped equivalent

To use the changes() method in a scoped application, use the corresponding scoped method: Scoped GlideElement - changes().