Scoped GlideRecord - _next()

Moves to the next record in the GlideRecord. Provides the same functionality as next(), it is intended to be used in cases where the GlideRecord has a column named next.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
Boolean True if there are more records in the query set.
var rec = new GlideRecord('sys_template');
rec.query();
while (rec._next()) { 
  gs.print(rec.number + ' exists');
}