Skip to content
matthewcm.dev

    ↑ ↓ move · ↵ open · tab scopeopen graph →

    Building a Low-Code BPMN Workflow Platform

    Case study — leading the UI of a low-code network automation platform where workflows are drawn as BPMN diagrams. Model-driven editing, server-side permissions and a catalogue of reusable building blocks.

    Growingcase studytended planted 4 min read
    On this page

    Context

    At Sky I was UI Lead on a low-code network automation platform: a web app where engineers design automation workflows as diagrams, run them, and track each run through to completion. Several teams and external business partners used it. Under the hood, workflows were BPMN 2.0 models (the standard notation for business processes), executed by a workflow engine and a fleet of microservices.

    Problem

    The first generation of the UI had grown use case by use case, which is the right way to prove value early: each new automation brought its own screens. As the number of use cases grew, the next step was to turn those patterns into a platform, so that building a new automation became mostly configuration: draw it, set its properties, publish it.

    Why a new platform at all

    The previous generation ran across a myriad of platforms and layers, including a legacy workflow engine whose skills were so niche that only one or two people in the team could still work on it. That’s a key-person risk, not just a technical one. Python engineers were far easier to hire, so the new platform was designed around the skills the business could actually staff: drag-and-drop, templates and default recipes for the common path, and a gear shift into Python-based (Jinja) templates for engineers who needed to go deeper. Building that templating meant learning network automation and device configuration properly, not just the UI on top.

    What I did

    • Made the diagram model the source of truth. Instead of mirroring diagram state in a separate client store, every property edit went through the diagram library’s own modelling API and command stack. Undo/redo and change events came for free, and the model could never drift from what was on screen. Adding a new configurable property became a documented recipe: constants, a typed model per element type, serialisation, UI, tests.

    • Debounced everything that touched the model. Every keystroke executed against the BPMN model, so inputs were debounced and showed clear “saving… saved” feedback. No intermediate save buttons.

    • Made the server the authority on permissions. Role-based access was checked at route level and feature level (can you see this page; can you change this workflow), with the UI only reflecting what the server decided. Client state can be altered, so it can’t be trusted for security.

    • Versioned workflows by copying the whole folder, so relative references between files never needed rewriting. A boring decision that removed a whole class of bugs.

    • Chose views carefully. A Kanban board of tasks was a view only. Assignment used explicit commands, because drag-and-drop couldn’t express “assign to this person or that group”.

    • Generated forms from JSON Schema rather than hand-coding each task’s form, and pushed for a catalogue of reusable, tested building blocks (form snippets, named sub-workflows) so new use cases started from approved pieces.

    • Hardened the codebase in parallel: TypeScript errors to zero (Driving a TypeScript Codebase to Zero Errors), a coverage drive with network-level mocks (A Testing Strategy Teams Actually Adopted), secret scanning, and an API gateway in front of the services (Rolling Out an API Gateway).

    • Migrated gradually, not big bang. Long-lived automations already delivered on the old engine (moving customers between network sites, automating infrastructure across whole regions, often driven by regulation and network roadmaps) stayed where they were; still-relevant ones were migrated; every new use case went on the new platform (Strangler Fig Migration).

    • Streamed device output with server-sent events. Live polling logs and command output from physical devices reached the browser over SSE instead of repeated REST polling (Server-Sent Events (SSEs)). A typical workflow the platform made repeatable: IPv4 Exhaustion and IPv6 Translation.

    • Built the multi-tenant foundations when the platform was pushed towards smaller external operators: onboarding workflows, role-based access, swappable enterprise single sign-on (Keycloak), and internationalisation across English, Italian, Dutch, German and Spanish.

    Outcome

    The platform let the team offer automation tooling as a service to other teams and partners, and cut the engineering effort needed for routine work. That’s the CV-level summary, and it was the point of the whole thing. New use cases could be built largely from existing building blocks, and the documented recipes meant other developers could extend the editor without me in the room.

    What I’d do again

    • Let the domain library own the domain state. Fighting a mature modelling library with your own store is a losing battle.
    • Design security into the server from day one. It’s far cheaper than adding it later.
    • Invest in reuse explicitly. A catalogue doesn’t appear by accident; someone has to curate it.

    What I’d do differently

    Make the rollout stages explicit. Once a proof of concept lands, there’s natural excitement about offering it widely, to internal users and external customers at once. I’d now set out a staged rollout from the start: an internal pilot first, then one or two design-partner customers, then a wider launch, with clear success criteria between each stage. Each stage tells you who the next users really are, and you can’t design a good golden path for people you haven’t met.

    I’d have written the “how to add a property” recipe and the architecture overview much earlier, rather than near the end. Documentation written while the knowledge is fresh is cheaper and better. That lesson fed straight into Knowledge Transfer as a Habit.

    Internal Developer Platform · Where Platforms Fit: DDD Subdomains · API Modelling · Bulletproof React · Zustand Transient Updates · AJAX Polling

    • #low-code
    • #bpmn
    • #react
    • #platform-engineering
    • #rbac
    • #case-study

    ↪ Links to (13)