I configured flowable 6.3.1 with Spring boot 2.0.0. I am able to deploy a sample process into the engine successfully.
I am using the embedded Tomcat server that comes with Spring Boot to enable the ReST APIs Flowable.
I have two questions:
(1) I am not sure how to access the UI applications that are bundled with Flowable. In other words, how do I deploy the UI applications to the “embedded” Tomcat server in Spring Boot 2?
The UI applications bundled with Flowable are Spring boot 2 applications. The easiest way is to run them in one Tomcat container together. But you can also boot them with the embedded Tomcat container for each app separately.
Are you using the flowable-rest.war file that’s in the Flowable 6.3.1 distribution? Which database are you using? Could you check if the rest-admin user is in the ACT_ID_USER table?
I have an existing Spring Boot 2 application. I want my application to execute BPMN processes and also expose the flowable ReST API.
With my Spring Boot 2 application, I want to bundle the Process Modeler and Admin applications bundled with Flowable distribution. For other UI applications, I will be developing my own version of the task and other UI applications as needed.
Therefore, this is what I did:
For (1) above, I included a dependency in my existing Spring Boot 2 pom.xml as follows:
#The following properties are required
management.endpoint.flowable.enabled=true
flowable.database-schema=dbo
flowable.database-schema-update=true
This Spring Boot 2 application runs on localhost port 5555.
The system compiled correctly and it created all the database tables for Flowable in the “dbo” schema of PostgresSQL database. However, the table act_id_user is empty and does not have any created users.
I installed the Flowable UI applications on a separate and different Tomcat server port - localhost:8080. I moved all the WAR files to the webapps directory of this Tomcat installation.
The goal I want to accomplish is to design my process model using the modeler running on port 8080 and then deploy this process into the Tomcat server running my Spring Boot 2 application. Thereafter, I should be able to monitor this process using the Admin UI.
The question I have is: How do I setup the Flowable Admin UI on Tomcat port 8080 so that it can monitor my process running on Tomcat port 5555?