DiscoveryFunctions - getFieldsThatChanged(GlideRecord gr)

Gets the fields that have changed for the specified device.

Table 1. Parameters
Name Type Description
gr GlideRecord The device
Table 2. Returns
Type Description
Array An array of fields that have changed.

var df = new DiscoveryFunctions();
df.getFieldsThatChanged("device1");