close

Filter

loading table of contents...

Workflow Manual / Version 2512.1

Table Of Contents

3.4 Database Views of the Workflow Server

Database views and changing the database user

Besides tables, the database schema of the Content Management Server, which is shared with the Workflow Server, contains the following views. They are created automatically together with the tables when the Content Management Server is started for the first time:

  • WfVPIStates

  • WfVTIStates

  • WfVTokens

The Workflow Server requires these views on startup to determine the active task instances of running processes.

Caution

MySQL and MariaDB: Views Are Bound to the Creating Database User

In MySQL and MariaDB, a view stores the account that created it as its DEFINER, including the host part of the account. If this account no longer exists, any access to the view fails, and the Workflow Server does not work anymore.

This happens, for example, if you rename the database user, change the host part of the account (for example, because the network of your Docker setup changed), or restore a database dump under a different database user. In these cases, you have to do one of the following:

  • Recreate the original database account and grant it the same privileges on the database schema as before, so that the definer of the views exists again and can access the underlying tables.

  • Export the database schema, remove the DEFINER clauses of the views from the dump, and import the dump as the new database user. The views are then bound to the new database user.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.