Forward-deployed / AI Knowledge Graph
Flowable

<div align=“center”>

Flowable — from scratch

Understand process automation by building a tiny process engine by hand. Then run the same processes on the real Flowable engine. Concept-first for PMs and architects, with a technical build layer for engineers.

Phases Track

🗺️ Roadmap · 📐 Ten Principles

</div>

This is a separate track from the Harness Engineering module. Flowable is an open-source business process automation platform — a 2016 fork of Activiti. It has four engines: BPMN 2.0 for structured processes, CMMN for case management, DMN for decisions, and an event registry for event-driven flows. Banks and fintechs run loan origination, KYC, and approval workflows on it. Here you learn the execution model underneath — tokens, wait states, transactions, jobs. You build it yourself, so the real engine is transparent when you use it.

Audience — two layers, one track

  • PM / architect layer: the foundations/ spine and every Concept beat explain when and why to use BPMN, CMMN, or DMN, and when to embed the engine or run it standalone. They also compare Flowable, Camunda, and Temporal. No code is required.
  • Engineer layer: every Build It implements the idea from scratch, in Python standard library, at about 80–150 lines. Every Use It runs the same thing on a real Flowable engine, over Docker and REST, or embedded in Spring Boot.

Read only the Concept beats and you get a complete architecture course. Do the builds and you can reason about the engine’s behaviour from first principles.

How it works

Each lesson runs the same six beats: Motto → Problem → Concept → Build It → Use It → Ship It, then a short self-quiz.

Start here

Status

All 12 phases are complete — orientation, BPMN & the token model, the engine’s state & transactions, user tasks & identity, service integration & error handling, DMN decisions, CMMN case management, events & timers, versioning & migration, operations & observability, architecture & product decisions, and the end-to-end loan-origination capstone. Full lesson index: the Roadmap.

Run the code

python3 flowable/phases/01-bpmn-and-the-token-model/01-tokens-and-sequence-flow/code/token_engine.py

To run the Use It beats you need a local Flowable instance:

docker run -p 8080:8080 flowable/flowable-rest
# REST API at http://localhost:8080/flowable-rest/service, default user rest-admin/test

Connects to other tracks

A process engine is infrastructure. These tracks frame the same decisions and failure modes.

<div align=“center”><sub>Educational content. Use it, fork it, teach from it.</sub></div>