Scoped GlideTableHierarchy - getTables()

Returns an array of strings of the table names in the hierarchy.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
Array An array of strings containing the names of tables in the hierarchy.
var table = new GlideTableHierarchy("incident"); 
gs.info(table.getTables());
Output:
incident,task