Server Configuration

Edit the config File

The Forms and Workflows Service is configured in the file /etc/ecm4u/sbcs-sm/config.

Default values for all configuration parameters are set in and read from /etc/ecm4u/sbcs-sm/config.default. See this file for the description of the available parameters.

Migrate the Database

After the database connection properties have been configured in the config file, the database must be initialized to contain the required tables. This process is called migration.

The Forms and Workflows Service distribution contains the tool sbcs-sm-migrate that can be used.

$ sbcs-sm-migrate 
usage: /usr/bin/sbcs-sm-migrate [init|info|migrate]

Once the init command must be used:

$ sbcs-sm-migrate init

This will create a table that keeps track of the current state of the database schema.

To view the current state of the database schema, use the info command:

$ sbcs-sm-migrate info
+---------+-----------------------+---------------------+---------+
| Version | Description           | Installed on        | State   |
+---------+-----------------------+---------------------+---------+
| 1       | << Flyway Baseline >> | 2018-06-07 12:21:34 | Success |
+---------+-----------------------+---------------------+---------+

If the State column of all rows contains Success, the database tables are up to date.

To make your database tables up to date, use the migrate command:

$ sbcs-sm-migrate migrate

This command will return with no output. You can use the info command to check the state after migration.

Note: You should use info and migrate after you've upgraded your Forms and Workflows Service installation to a new version.