Spring Boot Integration

The CadenzaFlow Engine can be used in a Spring Boot application by using provided Spring Boot starters. Spring boot starters allow to enable behavior of your spring-boot application by adding dependencies to the classpath.

These starters will pre-configure the CadenzaFlow process engine, REST API and Web applications, so they can easily be used in a standalone process application.

If you are not familiar with Spring Boot, read the getting started guide or use the CadenzaFlow Initializr.

To enable CadenzaFlow auto configuration, add the following dependency to your pom.xml:

<dependency>
  <groupId>org.cadenzaflow.bpm.springboot</groupId>
  <artifactId>cadenzaflow-bpm-spring-boot-starter</artifactId>
  <version>1.0.0
.0</version>
</dependency>

This will add the CadenzaFlow engine v.1.0.0 .0 to your dependencies.

Other starters that can be used are:

Using Enterprise Edition

To use CadenzaFlow Spring Boot Starter with CadenzaFlow EE you need to define the EE version of the webapp (cadenzaflow-bpm-spring-boot-starter-webapp-ee instead of cadenzaflow-bpm-spring-boot-starter-webapp), see also Web Applications:

<dependency>
  <groupId>org.cadenzaflow.bpm.springboot</groupId>
  <artifactId>cadenzaflow-bpm-spring-boot-starter-webapp-ee</artifactId>
  <version>1.0.0
.0-ee</version>
</dependency>

Requirements

CadenzaFlow Spring Boot Starter requires Java 17.

Supported deployment scenarios

Following deployment scenario is supported by CadenzaFlow:

  • executable JAR with embedded Tomcat and one embedded process engine (plus Webapps when needed)

There are other possible variations that might also work, but are not tested by CadenzaFlow at the moment.