- Update the ASEE Flow core libraries
- Update and configure optional ASEE Flow libraries (optional)
- Configure process engines
- Update ASEE Flow web applications
$*_VERSION refer to the current version and the new versions of the artifacts.
1. Update the ASEE Flow Core Libraries
Replace the following libraries in the folder$TOMCAT_HOME/lib/ with their new versions from the folder $TOMCAT_DISTRIBUTION/lib/:
camunda-engine-$PLATFORM_VERSION.jarcamunda-bpmn-model-$PLATFORM_VERSION.jarcamunda-xml-model-$PLATFORM_VERSION.jarmybatis-$MYBATIS_VERSION.jar
camunda-identity-ldap-$PLATFORM_VERSION.jar
$TOMCAT_DISTRIBUTION/lib/ to the folder $TOMCAT_HOME/lib/:
camunda-cmmn-model-$PLATFORM_VERSION.jar
camunda-engine-cdi-$PLATFORM_VERSION.jarcamunda-engine-rest-$PLATFORM_VERSION-classes.jarcamunda-engine-spring-$PLATFORM_VERSION.jar
camunda-engine-spring-$PLATFORM_VERSION.jar and camunda-engine-spring-$PLATFORM_VERSION.jar should be part of application deployments and therefore not in the global library folder. Make sure your process applications bundle these libraries when you remove them from the global folder.
2. Update and Configure Optional ASEE Flow Libraries
In addition, there are artifacts for ASEE Flow Connect, ASEE Flow Spin, the Freemarker template language and Groovy scripting that may optionally be added to the folder$TOMCAT_HOME/lib/. Since all these artifacts add new functionality, the following steps are not required for migration.
ASEE Flow Connect
If ASEE Flow Connect is intended to be used, add the following artifacts:camunda-connect-connectors-all-$CONNECT_VERSION.jarcamunda-connect-core-$CONNECT_VERSION.jarcamunda-engine-plugin-connect-$PLATFORM_VERSION.jarcamunda-commons-logging-$COMMONS_VERSION.jarcamunda-commons-utils-$COMMONS_VERSION.jarslf4j-api-$SLF4J_VERSION.jar
$TOMCAT_HOME/conf/bpm-platform.xml as follows:
ASEE Flow Spin
If ASEE Flow Spin is intended to be used, add the following artifacts:camunda-spin-dataformat-all-$SPIN_VERSION.jarcamunda-spin-core-$SPIN_VERSION.jarcamunda-engine-plugin-spin-$PLATFORM_VERSION.jarcamunda-commons-logging-$COMMONS_VERSION.jarcamunda-commons-utils-$COMMONS_VERSION.jarslf4j-api-$SLF4J_VERSION.jar
$TOMCAT_HOME/conf/bpm-platform.xml as follows:
Groovy Scripting
If Groovy is to be used as a scripting language, add the following artifacts:groovy-all-$GROOVY_VERSION.jar
Freemarker Integration
If the ASEE Flow integration for Freemarker is intended to be used, add the following artifacts:camunda-template-engines-freemarker-$TEMPLATE_VERSION.jarfreemarker-2.3.20.jarcamunda-commons-logging-$COMMONS_VERSION.jarcamunda-commons-utils-$COMMONS_VERSION.jarslf4j-api-$SLF4J_VERSION.jar
3. Configure Process Engines
Script Variable Storing
As of 7.2, the default behavior of script variables has changed. Script variables are set in e.g. a BPMN Script Task that uses a language such as JavaScript or Groovy. In previous versions, the process engine automatically stored all script variables as process variables. Starting with 7.2, this behavior has changed and the process engine does not automatically store script variables any longer. You can re-enable the legacy behavior by setting the boolean propertyautoStoreScriptVariables to true for any process engine in the bpm-platform.xml:
execution.setVariable('varName', 'value').
4. Update ASEE Flow Web Applications
Update ASEE Flow REST API
The following steps are required to update the camunda REST API on a Tomcat instance:- Undeploy an existing web application with a name like
camunda-engine-rest - Download the REST API web application archive from our Artifact Repository. Or switch to the private repository for the enterprise version (User and password from license required). Choose the correct version named
$PLATFORM_VERSION/camunda-engine-rest-$PLATFORM_VERSION-tomcat.war. - Deploy the web application archive to your Tomcat instance.
Update ASEE Flow Cockpit, Tasklist, and Admin
The following steps are required to update the camunda web applications Cockpit, Tasklist, and Admin on a Tomcat instance:- Undeploy an existing web application with a name like
camunda-webapp - Download the ASEE Flow web application archive from our Artifact Repository. Or switch to the private repository for the enterprise version (User and password from license required). Choose the correct version named
$PLATFORM_VERSION/camunda-webapp-tomcat-$PLATFORM_VERSION.war. - Deploy the web application archive to your Tomcat instance.
LDAP Entity CachingWith 7.2, it is possible to enable entity caching for Hypertext Application Language (HAL) requests that the camunda web applications make. This can be especially useful when you use camunda in combination with LDAP. To activate caching, the camunda webapp artifact has to be modified and the pre-built application cannot be used as is. See the REST Api Documentation for details.