Is it possible to embed the workflow modeler into a custom spring boot app? For example if we have an existing app where we want to programmatically work with workflow instances (start them, give users a way of interacting with tasks, etc), but we also want to let certain users edit workflow definitions, so we’d like the lovely workflow modeler UI embedded in our application’s UI. Assuming that’s possible…
… I can see that on Maven Central the UI modules seem to be available, so I’m following the instructions in the documentation, and have created a new spring boot app, with a dependency on flowable-spring-boot-starter. I can hit the
.../process-api/repository/process-definitions/ endpoint. I then add a dependency on
flowable-ui-idm-rest, because I’ve read in the documentation that all the UI apps depend on the IDM app. Once I do this, any endpoint I try to hit, including the REST one that previously worked, redirects me to a login screen. In here whatever credentials I enter (including admin/test) don’t work: I get “Bad Credentials” in the UI, and nothing logged in the console. I’ve tried with both an H2 DB and a Postgres one. In the Postgres one I can see the tables being created, but the ACT_ID_USER table doesn’t ever get any rows created in it.
I’ve also tried adding a dependency on
flowable-ui-idm-app but when I do that my spring boot app fails to start, with a slf4j error (I can provide the full stack trace if required, but I’m not even sure if what I’m doing is possible, or if I’m going the right way about it, so will omit it just now).
I can see that a similar question was asked here but had no answer, and also asked here. In that second link, there’s an answer from 11 months ago stating that you are “thinking of changing the Flowable Task application into a Spring Boot application, but that work still needs to be done.” Am I right in saying that this work has now been done? If so, is there any more information about this somewhere?