Description
nFlow is an embeddable workflow engine for the JVM, used to orchestrate business processes. It can act as a microservices orchestrator in the saga pattern, as a guaranteed-delivery engine, as a replacement for a business process engine, or as a persistent finite-state machine. Workflows are defined as code rather than in a declarative format, and they can be visualised in nFlow Explorer. The engine is usually embedded as a library, but a standalone server is also provided. Multiple deployments can process the same workflows for high availability, and automatic recovery follows a crash of the runtime environment. State updates are atomic and locked through a relational database, which can be PostgreSQL, MySQL, MariaDB, Oracle, Microsoft SQL Server, DB2 or H2. Optional libraries add visualisation and a REST API. The project has been developed since 2014 and is released under the Apache License 2.0.…
Highlights
- Workflows defined as code
- High availability and automatic crash recovery
- Visualisation in nFlow Explorer
- Works with PostgreSQL, MySQL, Oracle, SQL Server and more
- Embeddable library or standalone server
Ratings & Reviews
No ratings yet
Be the first to rate Nflow.
People also visit
WorkflowServer
Workflow Server is a ready-to-use Workflow Engine-based application
Nflow FAQ
What is nFlow?
An embeddable workflow engine for the JVM that orchestrates business processes, with state kept in a relational database.
How do I start?
Add nFlow from Maven Central to a Maven project and start it in an embedded Jetty server with an H2 in-memory database. The REST API docs and nFlow Explorer then open in the browser at localhost port 7500.
Which databases does it support?
PostgreSQL, MySQL, MariaDB, Oracle, Microsoft SQL Server, DB2 and H2.
Is it open source?
Yes. It is released under the Apache License 2.0.
Can it run as a separate service?
Yes. It is usually embedded as a library, but a standalone server is also provided.
What are the best Nflow alternatives?
Popular alternatives to Nflow include Pgflow, Easy Flows and pg-workflows. See all Nflow alternatives

