Tables

The Tables interface acts as a parent object for all tables within a form, integration service or workflow process. Individual tables are accessed using their table name. When the name is not a valid Java identifier e.g. it begins with a numeric, the table can only be accessed using the #getTable(String) method.

When running an event that forms part of a deployed component, only tables from the component can be accessed.

All included tables can be iterated using the following code:

 for ( var table in Iterator(tables.iterator()) )
 {
    log(table.elementName);
 }   
 
Examples:
 tables.TAB1.updateTable();
 var rows = tables.getTable("1TAB").fetchTable();
 

Tables Functions

getTable Tables.getTable( tableName ) Returns the Table with name tableName.

Table Types

Tables is a collection. A Table can be one of these types:

WebFormTable