Workflows / Demo
Workflows that wait for people
An expense claim approval run by a durable workflow.
The use case
Ann, a sales executive, files expense claims; Jane, her manager, approves them. Every claim follows the same steps, and days can pass between any two of them: the workflow starts, waits for Ann's bill, then asks a manager to decide. Nothing polls, nothing is lost on a restart, and the apps around it hold no process logic.


What it shows
Run it
You need Docker with Compose and about 6 GB of memory for Docker.
git clone https://github.com/hasithaa/workflow-demo-simple-claim-app
cd workflow-demo-simple-claim-app
docker compose up -d --build
Open http://localhost:8080 and sign in as ann@example.com / demo12345 to file a claim, and as
jane@example.com / demo12345 (in a private window) to approve it. The README walks through each step and the
ICP console.
Learn more
The workflow docs explain each building block. See all demos.