Scoped GlideRecord - getValue(String name)

Retrieves the string value of an underlying element in a field.

Table 1. Parameters
Name Type Description
name String The name of the field to get the value from.
Table 2. Returns
Type Description
String The value of the field.
var gr = new GlideRecord('incident'); 
gr.query('active','true'); ;'number'));