public interface Tables extends java.lang.Iterable<Table>
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();
Modifier and Type | Method and Description |
---|---|
Table |
getTable(java.lang.String tableName)
Returns the
Table with name tableName . |