How to access http://localhost:8080/flowable-ui/ and localhost:8080/flowable-admin/ from existing spring boot application?

I know this is an old thread and I’ve seen quite a few threads where people were asking the very same question: how to make Flowable Web UI applications work in a spring boot project. Here I will give a step-by-step instruction on how to do it.

First of all, I am not a flowable developer myself. Although I have played with Flowable on-and-off for sometime, I still consider myself a beginner and am still exploring it myself.

  1. Go to https://start.spring.io/ to create a spring boot project. Choose spring boot 2.7.x (not 3.x) and Java 11. You can use either gradle or maven for your project. Give a proper group/artifact/name for your project. Following the instruction in this blog: Building your own Flowable Spring Boot Application - BPI - The destination for everything process related to add additional dependencies. Finally generate your project.

  2. Add flowable dependencies to your project. Here is the example for gradle:

implementation ‘org.flowable:flowable-spring-boot-starter:6.8.0’
implementation ‘org.flowable:flowable-spring-boot-starter-ui-admin:6.8.0’
implementation ‘org.flowable:flowable-spring-boot-starter-ui-idm:6.8.0’
implementation ‘org.flowable:flowable-spring-boot-starter-ui-modeler:6.8.0’
implementation ‘org.flowable:flowable-spring-boot-starter-ui-task:6.8.0’

  1. I think the following settings in application.properties are all optional, but these are what I set:

management.endpoints.web.exposure.include=*
management.endpoint.health.show-details=when_authorized

spring.datasource.url=jdbc:h2:file:~/flowable-h2
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=password
spring.h2.console.enabled=true

spring.h2.console.path=/h2-console
spring.h2.console.settings.trace=false
spring.h2.console.settings.web-allow-others=false

flowable.idm.password-encoder=spring_delegating

  1. Now build and run the project. For Gradle, here is command to run the project in Windows:

.\gradlew bootrun

  1. Now open your favorite browser and go to http://localhost:8080. You will see login page described in the doc: Flowable applications · Flowable Open Source Documentation. Login using admin/test, you will see all the applications in the dashboard.

I hope this helps.