7.6.x to 7.7.0. It covers these use cases:
- For administrators and developers: Database Updates
- For administrators and developers: Rolling Update
- For administrators and developers: Full Distribution Update
- For administrators: Standalone Web Application
- For administrators: Updating a Tasklist Translation File
- For administrators and developers: Application with Embedded Process Engine Update
- Deploy Processes, Decisions and Cases from Cockpit
- New Batch API for modification of multiple process instances
- Process instance restart + Batch API
- Automatic cleanup of historic data based on TTL
- [New cryptographic hash function with salt] (/user-guide/process-engine/password-hashing)
- External tasks history
Database Updates
Every ASEE Flow installation requires a database schema update.Procedure
-
Check for available database patch scripts for your database that are within the bounds of your update path.
Locate the scripts at
$DISTRIBUTION_PATH/sql/upgradein the pre-packaged distribution (where$DISTRIBUTION_PATHis the path of an unpacked distribution) or in the ASEE Flow Artifact Repository. We highly recommend to execute these patches before updating. Execute them in ascending order by version number. The naming pattern is$DATABASENAME_engine_7.6_patch_?.sql. -
Execute the corresponding update scripts named
$DATABASENAME_engine_7.6_to_7.7.sql
-
We highly recommend to also check for any existing patch scripts for your database that are within the bounds of the new minor version you are updating to. Execute them in ascending order by version number. Attention: This step is only relevant when you are using an enterprise version of ASEE Flow, e.g.,
7.7.XwhereX > 0. The procedure is the same as in step 1, only for the new minor version.
Rolling Update
If you do not know what a rolling update in the context of ASEE Flow means, please refer to the Rolling Update documentation. In the context of a rolling update, a user created with an engineA of ASEE Flow version >= 7.7 cannot be authenticated with an engine B of ASEE Flow version <= 7.6. The reason is that the ASEE Flow version 7.7 adds salt to password hashing, thus, the older engine B is not aware of salt and unable to create the same hashed password as engine A.
To circumvent that problem you can either update all engines to the version >= 7.7 or create all users exclusively in the engine with version <= 7.6.
Full Distribution
This section is applicable if you installed the Full Distribution with a shared process engine. The following steps are required:- Update the ASEE Flow libraries and applications inside the application server
- Migrate custom process applications
$DISTRIBUTION_PATH.
ASEE Flow Libraries and Applications
Please choose the application server you are working with from the following list:Custom Process Applications
For every process application, the ASEE Flow dependencies should be updated to the new version. Which dependencies you have is application- and server-specific. Typically, the dependencies consist of any of the following:camunda-engine-springcamunda-engine-cdicamunda-ejb-client- …
Standalone Web Application
If the standalone web application is in use, the currentwar artifact must be replaced by its new version.
If a database other than the default H2 database is used, the following steps must be taken:
- Undeploy the current version of the standalone web application
- Update the database to the new schema as described in the database update section
- Reconfigure the database as described in the installation section
- Deploy the new and configured standalone web application to the server
Tasklist Translation File
The following labels must be added to the Tasklist locale file:LOGOUT_SUCCESSFULLOGOUT_THANKSMORNINGDAYAFTERNOONEVENINGNIGHTFAILED_TO_DISPLAY_RESOURCEAUTHENTICATION_FAILEDLOGIN_ERROR_MSGUsernamePasswordLOGIN_FAILEDCLOSE_TASKTASK_HAS_BEEN_REMOVEDSHOW_LESSSHOW_MORE
Application with Embedded Process Engine
This section is applicable if you have a custom application with an embedded process engine. Update the dependencies declared in your application’spom.xml file to the new version. Which dependencies you have is application-specific. Typically, the dependencies consist of any of the following:
camunda-enginecamunda-bpmn-modelcamunda-engine-springcamunda-engine-cdi- …