Scoped GlideRecord - addActiveQuery()

Adds a filter to return active records.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
QueryCondition Filter to return active records.
var inc = new GlideRecord('incident');
inc.addActiveQuery();
inc.query();