Scoped GlideElement - getReferenceTable()

Gets the table name for a reference element.

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
String The table name of the reference
var grINC = new GlideRecord('incident');
grINC.query('number','INC0010041'); // record assignment group assigned to "CAB Approval"
if ( { 
  // Get the table name 
  var tableName = grINC.assignment_group.getReferenceTable(); tableName );