Please enable JavaScript to view this site.

The manual for the JobRouter developer

Navigation: System activities > Description of the PHP API for system activities > API methods > Work with subtables

getMaxSubtableRowId(string $subtable): int

Scroll Prev Top Next More

Determines the highest existing ID of a subtable.

Parameter

Type

Description

$subtable

string

Name of the subtable.

If an error occurs, the function throws a JobRouterException.

Example:

$maxIdFromSubtable = $this->getMaxSubtableRowId('mySubtableName');