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

I have created the Spring boot application and included maven dependencies as
dependency flowable-spring-boot-starter ,flowable-spring-boot-starter-rest and flowable-engine

When I am trying to access http://localhost:8080/flowable-ui/ and http://localhost:8080/flowable-admin/ getting 404 response.
I want to access flowable-ui and flowable-admin pages
I have defined custom RestController.
Any help would be greatly appreciated .

The starters you mention don’t include the UI modules.

You’d need these modules:
flowable-spring-boot-starter-ui-admin
flowable-spring-boot-starter-ui-idm
flowable-spring-boot-starter-ui-modeler
flowable-spring-boot-starter-ui-task

@joram thanks for the reply.
I am not able to find these starters in maven repository.
Can you please point to any link or document?
I have added few dependencies but no luck. In addition to adding these dependencies, do I need to make any configuration changes?

Hey @ameet,

I think that this is the 3rd or 4th post I am seeing from you regarding the same topic.

I would suggest looking at Flowable Modeler embedded in app.

Cheers,
Filip

And still there is no straight answer to this one, even on that link your showing, is just creating a circular navigating.
So please, can anybody provide the recipe to configure those ui-* in spring boot so they can be accessible on browser?

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.