Scoped GlideElement - toString()

Converts the value to a string.

Table 1. Parameters
Name Type Description
value Object Object value to set the field to.
Table 2. Returns
Type Description
String The value as a string
var glideRecord = new GlideRecord('incident');
glideRecord.query('priority','1');
glideRecord.next();
gs.info(glideRecord.opened_at.toString());

Output: