Scoped GlideTableHierarchy - GlideTableHierarchy(String tableName)

Instantiates a GlideTableHierarchy object.

Table 1. Parameters
Name Type Description
tableName String The name of the table.
var table = new GlideTableHierarchy("incident"); 
gs.info(table.getTables());
Output:
incident,task