What a Flowable implementation involves
A Flowable implementation maps your processes and cases to BPMN, CMMN and DMN models, then builds the Java code, integrations and task screens around the engines. Installing the engine is the small part of the work. The Flowable Engine repository describes a BPMN process engine, a CMMN case engine and a DMN rule engine, all written in Java and licensed under the Apache License 2.0.
According to the Flowable open source overview, the engines run embedded in a Java application or as a service on a server, in a cluster or in the cloud. They can be standalone or integrated with Spring, and each has Java and REST APIs. State lives in a relational database. They suit onboarding, claims, lending approvals and exception handling, where every step, approval and deadline has to be traceable.
Most effort goes into mapping the process with the people who run it, choosing a model type for each part, writing the Java code behind service tasks, connecting core systems and building the screens people use to work their tasks. The stages below follow that order.
Know the release line before you design. The Flowable 7.0.0 release notes record that version 7 removed the Flowable UI applications and the Form and Content engines, and introduced Flowable Design, a separate modeling tool that is free to use for CMMN, BPMN and DMN models. An open-source build therefore needs a task UI of your own. The Flowable 8.0.0 release, listed as the latest on 27 February, is based on Spring Framework 7 and Spring Boot 4 and no longer supports Spring Boot 3. Flowable 7 and later need Java 17 or higher.
How a Flowable implementation runs, stage by stage
Stages overlap, and each ends with something the next stage can check.
| Stage | Work | Output |
|---|---|---|
| Discovery | We run workshops with the people who run the process and cover triggers, handoffs, approvals, exceptions and the systems touched. | A process inventory with owners and known exceptions. |
| Model design | We draft BPMN, CMMN and DMN models and agree naming, variables and error handling with process owners. | Reviewed models in Git with a data contract for each. |
| Build and test | We write delegates and integration code, build the task UI, and test against core systems, including failures and retries. | A deployable application with tests for each model path. |
| Platform setup | We set up the engines in your infrastructure with high availability, SSO and hardening. | A hardened, highly available platform and a restore test record. |
| Rollout | Start with one process or business unit and run old and new paths in parallel where needed. | A cutover plan with rollback steps. |
| Enablement | Developers learn the APIs and testing, analysts learn the modeling conventions, and operators learn jobs and incidents. | A modeling guide and runbooks. |
Design decisions to settle for Flowable Spring Boot or standalone
These choices shape the code, the database and who operates what.
Embedded or standalone
The Flowable Spring Boot docs list a starter for the process, CMMN, DMN and IDM engines and a REST variant that adds the APIs. Embedding keeps delegates, transactions and domain code in one deployable. A standalone REST service suits several consuming applications.
Task and case UI
The open-source engines expose Java and REST APIs and no end-user interface. Build a front end, embed tasks in an existing portal, or license a commercial product. The Flowable overview lists customizable UIs in its commercial runtime. We can help you compare a custom UI with a licensed product.
Identity and authorization
Map the candidate users and groups used in models to groups from your identity provider. Decide where task authorization is enforced, in the engine, in your API layer or in both. Agree the mapping with the people who own access reviews, and write it down in the modeling guide.
History level
The history docs list none, activity, audit (the default) and full. Full is the most detailed and slowest. None runs fastest and keeps no history. History cleaning is off by default, so agree level and retention with compliance owners.
Database
The configuration guide lists h2 (the default), mysql, oracle, postgres, db2 and mssql. Choose one your team already operates with backups and failover. For high concurrency the guide recommends injecting a pool such as HikariCP, since the default MyBatis pool allows 10 active connections.
Flowable BPMN, CMMN and DMN: choosing the model type for each part
Use BPMN for work with a defined flow: user tasks, service tasks, gateways, timers, messages and error boundaries. Spring Boot auto-deployment scans the processes/ folder for BPMN resources. The async executor is disabled by default, so set asyncExecutorActivate to true or timers will not fire. Mark long or remote calls as async so the executor runs them and database transactions stay short. Failed jobs are retried 3 times by default, so write each step to tolerate a repeat. Write a test for every path through the model, including the timer and error paths.
Use CMMN where people decide the next step: investigations, complaints and complex claims. Spring Boot auto-deployment scans the cases/ folder for CMMN resources. Keep the case model for the part where people choose, and use BPMN for the structured steps inside it. Agree with case owners what ends a case, which evidence must exist and who may add work. Flowable 8.0.0 added case and process end interceptor support, which gives you a hook for checks when a case closes. Test the paths people take most often and the odd ones, such as a case reopened late.
Use DMN decision tables for eligibility, routing, limits or risk scoring. Spring Boot auto-deployment scans the dmn/ folder for DMN resources. Version each table with its test cases so rule owners can change rules through a reviewed release. Ask rule owners to supply the cases, and turn each one into an automated test. Flowable 8.0.0 added an option to disable DMN history persistence. Decide with compliance owners whether decision history is audit evidence in your case before you switch it off. Keep input names stable across versions so models that call the table keep working.
Use the event registry when a process or case must start or continue on a message from another system, and when it must send events out. Treat each channel as an interface with an owner. Agree the payload contract, the correlation key and the retry behavior with each topic owner before you model. Correlation decides which running instance receives an inbound message, so test messages that arrive early, late or twice. Pair event-driven steps with error handling in the model. Decide what happens when a message never arrives, and add a timer boundary for it. Flowable 8.0.0 also added business status change events. Check whether they fit your reporting needs.
Custom delegates, listeners and integrations around the engines
Flowable's extension model is plain Java and Spring. Most custom work falls into four areas.
Service tasks and delegates
- JavaDelegate classes or Spring beans called from expressions.
- Idempotent delegates, since failed async jobs are retried.
- Secure HTTP headers in the HTTP task, masked in logs and stored variables since Flowable 7.2.0.
- Business code in tested Java, with few script tasks.
Listeners and interceptors
- Execution and task listeners for assignment and notifications.
- Engine event listeners for monitoring and outbound events.
- Process and case end interceptors, added in Flowable 8.0.0.
- Java Records in expressions, also added in 8.0.0.
Integrations
- Core banking, policy, CRM and document systems over REST or messaging.
- Error boundary events and compensation for failed remote calls.
- Correlation rules so inbound messages reach the right instance.
- The Flowable REST API for applications outside the JVM.
Testing
- JUnit 5 tests with Flowable's test support. Flowable 8.0.0 removed JUnit 3 and JUnit 4 support.
- A test for each model path, including timers and escalations.
- Decision table tests from cases supplied by rule owners.
Camunda 7 alternative: migrating from Camunda 7 or Activiti to Flowable
Camunda 7 Community Edition reached end of life in October 2025. The Camunda announcement names v7.24, released on Oct 14, 2025, as the final release. Teams that run Camunda 7 or Activiti 5 therefore look for an alternative, and Flowable is one candidate. Its engines are Apache-2.0, written in Java, and cover BPMN, CMMN and DMN.
The Flowable migration how-to treats Activiti 5 and Camunda 7 as Flowable 5 equivalent engines. Point Flowable at a copy of the database. By default the first start updates the schema, and the guide advises testing against a copy with backups in place. Enable the flowable5-compatibility dependency so in-flight instances keep running. The guide also describes Flowable Leap, which analyzes BPMN models from products such as Camunda and Activiti for incompatibilities, and notes that class delegates may need code changes.
Review the parts that tie your solution to Camunda: extension attributes in models, delegates that call Camunda APIs and external task workers. Treat each as a work item with an owner. DeployOpen plans migrations as part of an implementation, so these items go into the cutover plan with rollback steps.
When instances are short-lived, a side-by-side cutover can be simpler. New instances start on Flowable while existing ones finish on Camunda 7. Either way, rehearse on a copy of production data and test parallel joins, boundary events, timers in flight and partially completed branches.
Hosting, high availability and security for the Flowable REST API and engines
Flowable nodes share one database, so availability comes from two or more nodes behind a load balancer plus database failover. The advanced guide states that the async executor locks timer and async jobs for 5 minutes by default and clears expired locks every 60 seconds so other executors can pick the jobs up. Jobs that keep failing move to ACT_RU_DEADLETTER_JOB, where an administrator must inspect them. Alert on that table.
Keep databaseSchemaUpdate at its default of false in production. Then the engine checks the schema version at startup and throws an exception on a mismatch, so schema changes happen only in a planned upgrade. Plan history retention and cleanup before go-live. If you expose the Flowable actuator endpoint, remember that it is not exposed over the web by default and needs management.endpoints.web.exposure.include set.
The Flowable REST documentation states that the REST application uses Basic HTTP authentication, requires a user with the REST access privilege on every resource by default, and should be used only over HTTPS. Change the admin password created at startup. The flowable-rest Docker image uses an in-memory H2 database and default credentials, so treat it as a starting point and not a production setup. Limit who can deploy models, since models can carry scripts that run inside the engine.
For staff-facing applications, put Spring Security in front of the engine APIs with OIDC or SAML from your identity provider, such as Keycloak or Microsoft Entra ID, and map its groups to the candidate groups used in models.
Process instance migration, upgrades and backups
What happens to running instances when a model changes?
Deploying a model with the same key creates a new version. New instances use it and running instances stay on the version they started with. Keep models in Git and promote them through a pipeline. When running instances must move to the new version, use Flowable's process instance migration API, described in the next question.
How does Flowable process instance migration work?
The migration documentation uses createProcessInstanceMigrationBuilder(), then migrateToProcessDefinition(id), validateMigration(instanceId) and migrate(instanceId). Call addActivityMigrationMapping(sourceId, targetId) to map activities whose IDs differ. Run the validation step first and rehearse on a copy of production data.
What do we back up?
The database holds definitions, running state, jobs and history, so its backups and point-in-time recovery are the core of recovery. Keep models, configuration and code in version control. Rehearse a restore and keep a record of the test. Our handover includes a restore test record for this reason.
How do engine upgrades work?
Read the release notes, run the schema upgrade against a copy of production, and test models and custom code. Flowable 8.0.0 dropped Spring Boot 3 and made Jackson 3 the default. Package names changed from com.fasterxml.jackson to tools.jackson, and expressions that call JsonNode methods may need changes. With Spring Boot you can keep Jackson 2 by setting flowable.variable-json-mapper to jackson2.
How long should we keep history?
Agree it with compliance owners. History cleaning, introduced in 6.5.0, is disabled by default. When enabled, it runs at 1 AM and deletes historic process instances that ended 365 or more days earlier. You can change this with flowable.enable-history-cleaning, flowable.history-cleaning-after and flowable.history-cleaning-cycle. A higher history level grows the tables faster.
What do we do with failed jobs?
The async executor retries a failed job 3 times by default. After that the job moves to ACT_RU_DEADLETTER_JOB, and an administrator must inspect it. Write a runbook that covers who watches the table, how to read the failure, how to fix the cause and how to retry. Idempotent delegates make a retry safe. Our handover includes runbooks for jobs, incidents and upgrades.
Flowable open source, Docker, Spring Boot and partner questions
Do we need a commercial Flowable license?
Not for the engines. The BPMN, CMMN and DMN engines are Apache 2.0 open source. The Flowable overview lists the Flowable Agentic Case Platform as the commercial runtime built on them, with design, content management, customizable UIs and tools for testing and debugging. A license matters if you want those or vendor support. We can help you compare a custom UI with a licensed product.
Flowable vs Camunda 7: which should we choose?
Camunda 7 Community Edition ended with v7.24 on Oct 14, 2025, so a team running it needs a plan. Flowable offers Apache-2.0 BPMN, CMMN and DMN engines with Java and REST APIs, and a documented path for Camunda 7 databases. The right choice depends on your models, delegates, UI and team skills. A discovery workshop can answer that with your own models.
How do we run Flowable with Spring Boot?
Use flowable-spring-boot-starter for the process, CMMN, DMN and IDM engines, or flowable-spring-boot-starter-rest to add the REST APIs. Auto-deployment scans processes/ for BPMN, cases/ for CMMN and dmn/ for DMN. There is also an actuator starter. Flowable 8.0.0 is based on Spring Boot 4, so pick the Flowable version that matches your Spring Boot version.
Can we run Flowable in Docker?
The flowable/flowable-rest image on Docker Hub starts with docker run -p8080:8080 flowable/flowable-rest. It uses an in-memory H2 database and has default credentials, rest-admin and test. Use it to try the REST API. For real use, connect it to a database you operate, change the credentials and run it behind HTTPS.
What does a Flowable implementation partner do?
DeployOpen runs discovery workshops, builds models, delegates and integrations, sets up the engines in your infrastructure with high availability, SSO and hardening, plans migrations and trains your teams. The aim is a platform your own staff can run, with models and code in your repositories and named owners for each area.
Does Flowable help with audit evidence?
History records who did what and when, which supports evidence for SOC 2, ISO 27001 or DORA controls. The level you choose decides how much detail you keep. DeployOpen can assess the implementation against those requirements. We do not issue audit reports or certifications.
Where should we start?
Pick one process with clear owners and well-understood exceptions. Build it end to end with its UI, integrations and monitoring, and use it to settle conventions for naming, variables, history level and error handling. Then add the next process, or start the Camunda 7 migration, with those conventions in hand.
Scope and handover for a Flowable implementation
Effort depends on the number of processes and cases, the decision logic, the systems to integrate, whether a task UI has to be built, whether Camunda 7 or Activiti instances must be migrated, and your availability targets. Integration and UI work usually take longer than engine setup.
DeployOpen runs discovery workshops, builds models, delegates and integrations, sets up the engines in your infrastructure with high availability, SSO and hardening, plans migrations and trains your teams.
Handover includes models and code in your repositories, the modeling guide, test suites, the deployment pipeline, runbooks for jobs, incidents and upgrades, a restore test record and named owners for process behavior, code and the platform.
Sources and further reading
- Flowable open source overview ↗
- Flowable engine repository and release notes (Apache-2.0) ↗
- Flowable migration how-to for Camunda 7 and Activiti ↗
- Camunda 7 end of life announcement ↗
- Flowable Engine repo ↗
- Flowable Engine releases ↗
- Flowable 7.0.0 release blog ↗
- Flowable Spring Boot docs ↗
- Flowable BPMN configuration ↗
- Flowable BPMN history ↗
- Flowable BPMN advanced ↗
- Flowable BPMN constructs ↗
- Flowable BPMN REST ↗
- Docker Hub flowable-rest ↗
- Flowable process instance migration ↗

