Please enable JavaScript to view this site.

Process Designer

The save function can only be used within step initialization or dialog functions.

With this function allows saving a step. This means storing the work data of the process in the process table and subtables in the database.

Parameter

Type

Description

-

-

-

The save function returns nothing, but try ... catch can be used to catch possible errors.

Please note:  Only work data that has been previously changed with the functions setTableValue or setSubTableValue is saved.

Example:

try {

 this->setTableValue('amount', '12.50');

 $this->save();

 // No error occurred

} catch (JobRouterException $e) {

 // Error occurred

}