Scoped GlideTableHierarchy - getRoot()

Returns the top level class in the hierarchy.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
String The root class.
var table = new GlideTableHierarchy("cmdb_ci_server"); 
gs.info(table.getRoot());
Output:
cmdb_ci