Why Flowable high availability is a Flowable high availability design problem, not a copy-the-app problem
Running Flowable on more than one node is a design problem, not a matter of starting a second copy of the application. Flowable engines are embedded in your Java application as JARs or run as the Flowable REST application, and every node that starts with the same configuration can execute process work. What makes multiple nodes safe is the shared database. The async executor runs timers and asynchronous jobs from a thread pool on each node, and the nodes coordinate through lock owners and lock expiration times stored in that database. A node that claims a job writes its identity and an expiry time, and if the node dies before finishing, another node can recover the expired lock and pick the job up. Your availability therefore depends on three things: how the database behaves under failover, how lock timing is configured relative to your longest jobs, and how far job execution scales before nodes start competing for the same rows.
Several of these constraints are invisible in a single-node test. A single node never waits on a lock held by a peer, never sees a lock expire during a real crash, and never loses a database connection mid-transaction. Lock duration, lock expiry and the thread pool size on each node interact with your job mix in ways that only appear under concurrent load. Database resilience is another gap: a failover that completes in seconds can still leave in-flight transactions rolled back or timers delayed, and the engine's behavior in that window needs to be tested rather than assumed. Scaling timers and asynchronous jobs also changes throughput in ways that are hard to predict from a demo process.
Before you add a second node, confirm three things with your team and with the vendor documentation: the database type and failover model you will run, the lock and retry settings the async executor uses in your version, and how your timers and asynchronous jobs behave when two nodes compete for them. Then build a test environment with at least two nodes against a database that can fail over, and deliberately kill a node mid-job to watch lock recovery. Start with the Flowable advanced documentation for the async executor model, and plan that verification as part of the design rather than as a launch checklist.
Which Flowable components and settings shape a multi-node setup
A multi-node Flowable setup is built from a few cooperating parts: engine instances that hold no session state, one shared relational database, and the async executor that coordinates timers and jobs through lock data. Each card below names one of these parts and the settings to confirm before you size or test the cluster.
Stateless engine instances
Flowable can be embedded as a JAR in a Java SE application, a servlet container such as Tomcat or Jetty, a Spring application, or a Java EE server, or run as the Flowable REST application. In a multi-node design, each instance points at the same database and keeps no process state of its own, so any node can serve a request. Check that your deployment model, including the Spring Boot starters or REST app you choose, behaves the same way on every node.
Getting started guideShared relational database
All nodes read and write process state through one database, so it becomes the coordination point and the main availability risk. Flowable documents H2, MySQL, Oracle, PostgreSQL, DB2 and Microsoft SQL Server as supported types. Confirm the database type and version against the configuration docs, and note the documented caveat that MySQL versions below 5.6.4 lack millisecond precision, which affects timer accuracy.
Configuration docsAsync executor thread pool
The async executor runs timers and asynchronous jobs from a thread pool on each node. Thread pool size and job acquisition settings determine how much work one node takes on at a time, so they shape throughput when you add nodes. Confirm the async executor settings in the configuration docs and load test them before you tune the number of nodes.
Lock owner and lock expiration data
Nodes coordinate through a lock owner and a lock expiration time stored in the database. When a node fails and its lock expires, another node picks up the job. This makes lock duration a recovery-time decision: a long lock delays recovery, while a short lock risks a second node running work that is still in progress. Confirm how the lock and wait settings interact with your longest-running service tasks.
Timers and asynchronous jobs
Timers and asynchronous jobs are the work that moves between nodes, so they need the most verification. Test that a timer fires once across a cluster, that a job held by a stopped node is recovered, and that job retries behave as expected. Pick a test database copy that matches production size, since job table contention grows with volume.
Actuator endpoint for monitoring
The Flowable Spring Boot starters expose an actuator endpoint at /actuator/flowable for monitoring running processes. Use it to watch each node's view of active work, and check it on every node rather than only the one behind the load balancer. Confirm which actuator endpoints are exposed and secured in your Spring Boot version before you rely on them for alerts.
How the setup differs between embedded engines and the REST application
When you embed the Flowable engines as a JAR in a Java SE application or in a servlet container such as Tomcat or Jetty, each node is your own application process that creates its own process engine configuration and connects to the same database. Process state, tasks, jobs and locks live in that shared database rather than in the JVM, so each node can serve requests and run the async executor. Your application code owns the HTTP or messaging layer, which means session handling, authentication and the routing of user requests are decisions your team makes and tests.
- Shared state: All nodes point at one database schema, and the async executor uses lock owners and lock expiration times stored there to decide which node runs a job.
- Request routing: Any node can handle a user request only if your application keeps no sticky in-memory state, so check every custom service and cache for node-local data.
- Job execution: Each node starts its own executor thread pool, so confirm the pool size and job acquisition settings for each node.
- Configuration drift: Every node must run the same process definitions and delegate classes, so deployment must update all nodes together.
- Vendor confirmation: Ask Flowable which lock and executor settings are supported for the exact version and database you chose.
Before go-live, confirm with your own test cluster that a job locked by a stopped node is picked up by another node after expiry.
When you embed the engines in a Spring application using the official Flowable starters, the engine beans, datasource and async executors are created by Spring Boot auto-configuration. Each application instance is a node, and the starters add an actuator endpoint at /actuator/flowable that helps you watch running processes on each node. The sharing model is the same as plain embedding, but Spring manages transactions, datasource pooling and the lifecycle of the executors, so the configuration you tune is mostly in properties files rather than in code.
- Shared state: Each instance connects to the same database through the Spring datasource, and job locks in that database coordinate work between instances.
- Request routing: Your controllers and Spring Security filters decide how sessions are handled, so a load balancer can route to any instance only when authentication is stateless or session data is shared.
- Auto-configuration: Confirm which executor and datasource properties the starter for your Spring Boot line exposes, since the starters track the Spring Boot version.
- Monitoring: Use the actuator endpoint on each instance and check that health and job metrics are collected per node.
- Version pairing: Flowable 8.0.0 requires Spring Boot 4 and Spring Framework 7, so confirm that your application baseline matches before you plan the cluster.
Review the starter documentation for your version and test that restarting one instance does not leave jobs stranded.
When you run the Flowable REST application as a separate service, clients call it over HTTP and never load the engine into their own process. Several REST instances can sit behind a load balancer, and they all share the same database, so the load balancer may send any request to any instance. This model moves authentication, API access and the engine lifecycle into one service that your platform team operates, which changes where you must enforce load balancing rules and secure the API.
- Shared state: Every REST instance reads and writes the same database, so process state and job locks are not kept in the instance.
- Request routing: Standard round-robin balancing is appropriate only if no request depends on an instance-local token, cache or upload that another instance cannot read.
- Job execution: Confirm whether the async executor runs on every REST instance by default and how to limit it to a subset of nodes if you need that.
- Security perimeter: The REST API becomes the single entry point, so confirm authentication, TLS termination and rate limits at the load balancer and the service.
- Health checks: Confirm which endpoints are documented for health checks in your version before you configure the load balancer probes.
Write down the exact REST and executor settings your chosen version supports, and have Flowable confirm them before you commit to this topology.
How the async executor picks up and recovers jobs across nodes
Each Flowable node runs its own async executor, a thread pool that handles timers and asynchronous jobs. Nodes do not talk to each other to divide the work. Instead, coordination happens in the shared database: when a node's thread pool acquires a job, it writes a lock owner and a lock expiration time onto that job's row. Other nodes that query for due work skip jobs that carry an unexpired lock, so each job runs on one node at a time. The Advanced documentation describes this lock-based model as the mechanism that lets multiple nodes share one set of timers and jobs, and it is the part of the design your operations team needs to understand before scaling out.
Recovery depends on expiration. If a node crashes or stalls while holding a job, the lock is never released, but its expiration time eventually passes. At that point another node's executor treats the job as available and picks it up. The practical consequence is that a job may be retried after a failure window rather than failing immediately, so process steps that call external systems need to be idempotent. Your team should confirm how the lock duration and the polling interval are configured for your Flowable version, since those settings determine how long a dead node's work waits before another node takes it over. Test this on a staging cluster by killing a node mid-job and measuring the delay.
Clock behavior and timestamp precision both affect this logic, because expiry is a comparison between times recorded by different nodes and the database. Nodes whose clocks drift apart can disagree about whether a lock has expired, so enforce time synchronization (for example with NTP) across all application servers and confirm the database server's time source too. Precision matters as well: the configuration docs note that MySQL versions below 5.6.4 lack millisecond precision, which can make short lock windows and ordering less exact. If you run MySQL, confirm your version and timestamp column types before relying on fine-grained lock timing, and review the Flowable advanced documentation for the tuning parameters that apply to your release.
How nodes, the shared database and the async executor fit together
The diagram starts at the load balancer, which sends each HTTP or API request to any one of several stateless Flowable engine nodes. Every node runs its own async executor thread pool, and all nodes read and write the same database, which holds process state, jobs, and the lock owner and lock expiration fields the executors use to coordinate. The monitoring endpoint sits on each node, and the database sits behind a trust boundary that separates the application tier from data access. Check that each node points at the same database, that lock expiration is set and understood, and that the database itself has a high availability design, because it is the single point to make highly available.
Stateless nodes share one database that coordinates async jobs through locks.
Which high availability options fit your database and team
This table compares four database and region options for running Flowable on multiple nodes, with the operational cost of each. Read each row against your recovery targets, the database product you already run, and how many people can perform failover and restore work. The main takeaway is that the engine tier is the easy part; the database topology decides how much failover testing, lock behavior and licensing effort you will carry.
| Option | When it fits | Operational cost and risks |
|---|---|---|
| Single database instance with backups only | Internal or low-volume processes where a restore window is acceptable and no one is paged for process downtime | Restore drills must be rehearsed, since a restored database can leave in-flight timers and async jobs to be reconciled. Engine nodes still run in parallel, but a database outage stops all of them. |
| Primary with standby failover | Most regulated production workloads that need automatic or scripted database failover on one site | Failover must be tested end to end with running nodes. Replication lag can delay lock expiry visibility, so confirm how the async executor behaves after a promotion with your database vendor's guidance. |
| Multi-primary or clustered database product | Teams already operating a clustered database product with skilled operators and a supported Flowable database type | Confirm which Flowable-supported database types your product matches before choosing it. Expect extra testing of locking and transaction isolation, and check the vendor's licensing model for each node. |
| Engines in one region | Single-site operations where the data center or cloud region is the main risk you accept | Lower network latency between engine nodes and the database. A regional outage takes every node down, so recovery depends on backups or a standby elsewhere. |
| Engines across regions | Workloads with a formal requirement to survive loss of a region, and budget for a second site | Database replication across regions adds lag, which affects lock acquisition and job pickup timing. Failover runbooks, DNS or routing changes and periodic failover exercises are recurring effort to confirm with your team. |
How to build a multi-node Flowable setup, step by step
This sequence takes a single Flowable engine to a multi-node deployment where stateless nodes share one database, coordinate timers and async jobs through lock expiry, and sit behind a load balancer with monitoring. Each step closes with a check you can run before moving on.
Confirm the database type and version
Check the Flowable configuration documentation for the database types it supports, then confirm the exact version your organization will run against. The configuration docs list H2, MySQL, Oracle, PostgreSQL, DB2 and Microsoft SQL Server, and note that MySQL versions below 5.6.4 lack millisecond precision, which matters for lock expiration times. Ask your DBA to confirm the version in writing and to confirm that your database team supports the connection pool you plan to use. The step is done when the platform team has a signed-off database type, version and driver list that matches the documentation.
Provision a shared database with timestamp precision
Create one database schema that every engine node will use, with credentials stored in your secrets manager rather than in configuration files. Verify that timestamp columns keep millisecond precision, because the async executor stores lock owners and lock expiration times in the database and relies on them to decide when a lock has expired. Check the database backup and point-in-time recovery settings with the owning team, since this database holds process state for every node. The check is a test connection from a staging host and a query that confirms the timestamp column type and precision.
Deploy two or more stateless engine nodes
Build one application artifact that embeds the Flowable engines, then start at least two instances that point at the same database. Each node must deploy identical process, case and decision definitions, typically from the same release package, so that no node runs a different model version. Keep session state out of the nodes, since work is coordinated through the database. The check is that both nodes start cleanly, report the same deployed definition versions, and both show up as separate async executor participants in the database after startup.
Configure the async executor on each node
Set the async executor options per node, including the thread pool sizing for timers and asynchronous jobs, and keep the settings consistent across nodes unless you have a reason to split load. Confirm the lock settings with your Flowable version's advanced documentation before changing the defaults, because lock duration controls how long a crashed node's jobs stay blocked. Record the chosen values in your runbook so operations can explain them later. The check is a log or database query showing each node acquiring jobs from the same job tables with its own lock owner.
Place a load balancer in front of the REST app
If you expose Flowable through the REST application or your own REST endpoints, put a load balancer in front of the nodes and configure health checks against a path your team has chosen and tested. Decide whether sessions need stickiness, and prefer stateless token-based authentication so that any node can serve any request. Confirm with your security team how TLS terminates and how the load balancer forwards identity headers. The check is that repeated requests through the load balancer succeed while each individual node is taken out of rotation and returned to it.
Enable the actuator endpoint for monitoring
If you use the Flowable Spring Boot starters, enable the actuator endpoint at the documented path so that operations can see running processes from each node. Restrict access to the endpoint to your monitoring network and authenticated operators, because it exposes operational detail. Connect the endpoint to your metrics stack and build alerts for stalled jobs or growing job backlogs, using the thresholds your team sets. The check is that each node's endpoint responds from the monitoring host and that the dashboard shows both nodes reporting.
Test node failure and lock expiry recovery
Start a process that schedules timers or asynchronous jobs, then stop one node while those jobs are locked. Watch the job tables and confirm that the locks held by the stopped node expire and that the surviving node picks up the jobs once the expiration time passes. Record how long recovery took in your environment, since that interval depends on the lock settings you chose. The check is that no job remains stuck under the stopped node's lock owner and that every timer fires exactly once in the process history.
Run a job load test before go-live
Generate a realistic volume of timers and asynchronous jobs against the cluster, using a staging copy of the production schema and representative process models. Measure job throughput, database load, lock contention and queue depth as you add nodes or threads. Compare results against the service-level targets your business owners have agreed, and tune pool sizes or database resources before go-live. The check is a written test report that shows the cluster meeting the agreed targets, with the configuration values used recorded alongside it.
Protecting shared state and access across nodes
Every Flowable node in a cluster reads and writes the same database and serves the same APIs, so a weak link in credentials, network paths, endpoint exposure or software versions affects all of them at once. The cards below cover the four places where a multi-node setup widens the attack surface and where operations teams most often find drift.
Database credentials across nodes
Each engine node opens its own connection pool to the same database schema, so one database user and password usually end up in every node's configuration. Decide whether nodes share one service account or use per-node accounts with the same grants, and record where each credential is stored. Rotation is the hard part: a rotated password that reaches only some nodes causes intermittent failures that look like database outages. Confirm that your secrets manager can update every node in one change window and that the engines reconnect without a full redeploy.
Network paths between nodes and database
Engine nodes need a direct, stable route to the database and, for the async executor, must not be exposed to unrelated workloads that could hold or delete locks. Limit database ingress to the subnets or security groups that host Flowable nodes, and keep administrative access on a separate path. Check that connection timeouts and idle connection limits on load balancers or firewalls are longer than the pool settings, or sessions will drop mid-transaction. Document the path in your architecture diagram so security reviewers can trace it.
REST API and actuator access
The Flowable REST application and the actuator endpoint at /actuator/flowable both expose information about running processes. Put them behind your existing authentication and authorization layer, and do not allow the actuator path through a public load balancer rule. Decide which roles can start processes, claim tasks or read variables, and test those roles against each node, not only the one behind the main hostname. Confirm which actuator endpoints are enabled in your Spring Boot configuration before go-live.
Identical dependency versions on every node
Nodes that run different Flowable, Spring or Jackson versions can disagree about job formats, schema expectations and serialization of variables. Build one artifact per release and deploy the same artifact to every node, including during rolling upgrades. Pin versions in your build file rather than resolving them at deploy time, and scan the full dependency tree for known vulnerabilities on each build. Check that no node is left on an older image after a patch, because the stale node may be the one that picks up async jobs.
What drives the effort of a multi-node Flowable setup
This table lists the factors that change the build and run effort of a multi-node Flowable deployment, with a way to keep each one under control. Read each row as a question to answer in your own environment before you scope the work. The main takeaway is that most effort comes from async job design and database topology decisions made early, not from adding engine nodes.
| Driver | Why it changes effort | How to keep it down |
|---|---|---|
| Number of engine nodes | Each node runs its own async executor thread pool against the shared database, so lock contention and duplicate-safe testing grow with node count. | Start with the fewest nodes that meet your availability goal and confirm the node count with your load tests before scaling out. |
| Job and timer volume | High volumes of timers and async jobs increase lock updates, acquisition queries and the time expired locks take to be recovered. | Model timers only where a deadline matters and batch or consolidate recurring timers to reduce job rows. |
| Process definitions and async steps | Every service task or step marked async creates a job, so models with many async steps multiply database writes and failure cases to test. | Limit async steps to points that need transaction boundaries, retries or long waits, and review each model before go-live. |
| Database environments and failover testing | Each environment needs the same clustering or replication behavior, and failover must be rehearsed to confirm in-flight jobs resume on other nodes. | Reuse one database topology across development, test and production, and script the failover test so it runs the same way each time. |
| Integrations called from service tasks | External calls can time out or fail after a job has locked, so retry settings, idempotency and timeouts must be designed for multi-node runs. | Make delegates idempotent, set explicit timeouts, and confirm retry behavior with the external system owner. |
| Compliance evidence needed | Assessors may ask for proof of failover, job recovery, backup restore and configuration control, each of which needs recorded test runs. | Agree the evidence list at scoping and capture test outputs and configuration in version control as the work proceeds. |
How to test that timers and jobs survive a node failure
The core test for a multi-node Flowable deployment is simple to state: stop a node while it holds locked async jobs, then confirm another node picks them up once the lock expires. Run this against a staging cluster that uses the same database engine, connection pool settings and async executor configuration as production. Before the kill, record the set of jobs that are locked (the lock owner and lock expiration time are stored in the database, so a query against the job tables shows which node holds each one). After killing the node, watch those jobs until their lock expiration time passes and confirm that a surviving node acquires them and runs them to completion. Expect a delay of at least the lock duration, and treat any job that stays locked well past its expiration as a finding to investigate, not a timing quirk.
Timers need a different check. A timer that is due must fire once across the cluster, not once per node and not zero times. Create a batch of timers with due dates spread across a short window, then run two or three engine nodes against the same schema and kill and restart nodes during the window. Afterward, compare the number of timer-triggered executions in the history tables with the number of timers you created. Duplicate execution is the most serious failure signal here, because it can send a payment, notification or state change twice. Lost jobs are the second signal. Both should be recorded as test failures, and the test should stop the rollout until the cause is understood. Confirm the exact lock and retry settings your Flowable version uses with the Flowable advanced documentation before writing assertions against them.
Two further scenarios complete the picture. First, run a database failover while jobs are executing, using the failover mechanism your platform team already operates. Check that in-flight transactions roll back cleanly, that no job is marked complete without its effects being committed, and that the executor resumes after the new primary accepts connections. Second, run a sustained load test with timers and async jobs arriving at production-like rates. Watch the async executor thread pools for saturation, rising queue depth and jobs whose start time drifts far from their due time. Starvation shows up as a steady backlog that never drains. Ask your DeployOpen or internal team to define pass criteria in writing before the run, so a result is judged against agreed numbers rather than against what looks acceptable on the day.
What to monitor, back up and document after go-live
This table maps each post-go-live operational concern to what it protects, the signal or test that shows it is working, and the owner's common failure point. Read it as a handover checklist: each row should have a named owner, a dashboard or query, and a rehearsed procedure before production traffic depends on the cluster. Flowable upgrades change the database schema, so the upgrade row should be rehearsed on a copy first, as covered in the upgrades and support topic.
| Area | What to watch or do | Evidence to keep | Where it usually fails |
|---|---|---|---|
| Job backlog | Track the count of pending timers and async jobs per engine through the actuator endpoint at /actuator/flowable and database queries on the job tables | Dashboard history and alert thresholds agreed with the process owners | Only the UI is watched, so a growing backlog goes unnoticed until deadlines slip |
| Lock age | Query lock owner and lock expiration columns to confirm locks are held briefly and expired locks are being recovered by other nodes | Saved query results from normal load and from a node stopped during testing | Clock skew between nodes or a database without millisecond precision makes lock times unreliable |
| Failed jobs | Monitor the dead-letter or failed job entries and set an owner for each retry or manual action | Ticket trail showing each failed job was retried, fixed or closed | Failures are retried silently and nobody reviews them until a customer reports a gap |
| Shared database backup | Run scheduled backups and rehearsed restores, including a point-in-time test that restores engine state consistent with running instances | Restore test records with timings and a checked process instance count | Backups exist but a restore has never been tried, or engine tables are restored out of step |
| Database high availability | Confirm failover behavior of the database layer and how the engine reconnects after a switch | Failover test results and connection pool settings used during the test | The application pool holds stale connections and needs restarts after failover |
| Rolling node upgrades | Upgrade one node at a time, drain running jobs, and verify the cluster after each step | Change record for each node with the version and the job backlog before and after | Mixed versions run against an incompatible schema or a node is restarted mid-job |
| Schema upgrades | Rehearse every Flowable version change, including schema changes, on a copy of production data before any live upgrade | Copy restore log, upgrade script output and regression results for process models | Teams apply a version bump directly to production because the change looked small |
| Failover runbooks | Write step-by-step procedures for node loss, database failover, stuck locks and a failed upgrade, each with a named owner | Runbooks reviewed by operations and tested in a drill | Runbooks describe the original design and no longer match the deployed topology |
Common questions before running Flowable on multiple nodes
Can we run Flowable on several nodes without a license?
Yes, the open source Flowable engines are licensed under Apache 2.0, so running several engine instances does not add a license fee for the engines themselves. Confirm the license terms against the repository and your own legal review, because the commercial products (Flowable Work, Engage, Orchestrate and Design) are separate offerings built on the same engines. If you plan to use any commercial component, its licensing applies to every node where it runs. Ask your procurement team to confirm which components you intend to use before the architecture is fixed. Support from the open source community is separate from paid professional services and partner support, so budget for that choice explicitly.
How much effort does a multi-node setup take and what drives it?
Effort depends mainly on how many engine instances you run, how many timers and asynchronous jobs your processes create, the database you choose, and how much of your infrastructure already supports load balancing and shared configuration. Each node needs the same deployment artifact, datasource settings, and async executor configuration, so the work is partly build and packaging and partly testing under concurrent load. Ask any partner for a written breakdown of these drivers in the scope, and ask them to state which items are one-time setup and which recur, such as schema upgrades and node additions. No duration is fixed here; the quote should follow from your written scope.
Does the team need to change process models to run on multiple nodes?
Usually the BPMN, CMMN and DMN models themselves do not need to change for a clustered deployment, because the engine stores process state in the shared database and the async executor coordinates work between nodes. The changes that matter are in the surrounding code: Java delegates and service tasks must be safe to run on any node, must not rely on in-memory state, and must tolerate being retried after a lock expires. Confirm this by reviewing each delegate and listener for local caches, file system writes and singleton state, then testing a retried job. Your process owners should still review timer definitions, since their schedules will fire from whichever node acquires the job.
Which database should we choose for a multi-node Flowable deployment?
Choose a database that your organization already operates well and that Flowable supports. The Flowable configuration documentation lists H2, MySQL, Oracle, PostgreSQL, DB2 and Microsoft SQL Server as supported database types, and H2 is typically suited to development rather than shared production use. The database becomes the coordination point for lock owners and lock expiration times, so its own availability design matters as much as the engine. Ask your database team to confirm replication, failover, backup and point-in-time recovery options for the chosen product, and check the note on MySQL versions below 5.6.4 if you use MySQL, since they lack millisecond precision.
Can our own team do this or do we need a partner?
Your own team can do this if it already runs stateful Java services on shared databases and has experience with load balancers, connection pooling and job-based workloads. A partner is most useful when the team lacks that experience, needs a fixed-scope delivery with written acceptance criteria, or wants independent load and failover testing before go-live. DeployOpen implements self-hosted open-source platforms inside the client's own infrastructure and prepares the evidence your reviewers need, but the decision should rest on your skills inventory. Ask any firm, including DeployOpen, to show how the scope covers node failure tests, lock expiry tests and handover documentation.
What does the work need from our infrastructure and security teams?
The work needs infrastructure teams to provision the nodes, load balancer, shared database and network paths inside your environment, and it needs security teams to review database credentials, service accounts, TLS settings and how the REST API is exposed. Confirm early where secrets are stored, who can read the database schema, and how logs and audit records leave each node. Security reviewers will also want to know how the async executor behaves during a node failure, so include that in the test plan. Agree on these responsibilities in writing before any build starts, so that infrastructure, security and the implementation team each know which controls they own.
How do we check that expired lock recovery works before go-live?
Test it deliberately in a staging environment that matches production. The Flowable advanced documentation explains that the async executor stores lock owners and lock expiration times in the database, so expired locks are recovered and jobs are picked up by other nodes. Stop one node while jobs are running, confirm that its pending timers and asynchronous jobs fire on another node after the lock expires, and check for duplicate side effects in your delegates. Record the lock expiration setting you use and confirm it with your engineers and the Flowable documentation for your version.
How DeployOpen scopes, builds and hands over Flowable high availability work
DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure, so a Flowable cluster runs in your cloud account, data center or air-gapped network. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we scope
- Map which BPMN, CMMN and DMN workloads must run on every node and which timers and async jobs must fire exactly once.
- Confirm the target database type from the supported list and the MySQL version floor for millisecond precision where it applies.
- Agree in writing the failover, lock expiry and database availability targets your own team has set, with the quote following from that scope.
How we build
- Deploy stateless engine instances on a shared database and configure per-engine async executors with lock owners and lock expiration times.
- Test expired lock recovery by stopping nodes mid-job and confirming other nodes pick up timers and asynchronous jobs without duplication.
- Configure database high availability with your chosen replication or failover approach and verify engine behavior during a failover test.
How we hand over
- Document the cluster topology, configuration keys, lock settings and the runbook for node replacement and database failover.
- Deliver test evidence from node-loss and database-failover runs, with the scenarios, results and any open findings listed.
- Walk your operations team through monitoring via the Flowable actuator endpoint and the alerts to set on stuck or unlocked jobs.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after go-live.
- Retesting after Flowable version upgrades, database schema changes or infrastructure moves, so lock and timer behavior is verified again.
- Support scope is set in the written agreement, so your team knows which cluster changes are covered and which stay with your staff.

