← All examples

Room reservations

A process almost everyone runs

Booking a room is a small, familiar process: you pick a room, you name the price, and a request is recorded. Today that usually means an e-mail or a message, a colleague who checks whether the room is free, and a status that lives in an inbox. The work gets done — but the process stays invisible, and it cannot become software.

How it is modeled

Two business areas, as compiled into the application: Rooms holds the Room view (the rooms and their price); Reservations holds the ReserveRoom action, the Reservation boundary, and the outcome Room requested.

Rooms

View Room RoomID · Name · Price · Available

Reservations

Action ReserveRoom RoomID · Price
Boundary Reservation
Event Room requested

The model fragment as compiled into the application — the same data the designer renders. This is a read-only presentation with sample data, not a running instance.

The application, screen by screen

The compiled application has two screens, rendered here statically from its real definition with sample data: the room list, and the room details with the reservation form.

Rooms

Room R-1 Price 100 Open
Room R-2 Price 150 Open

Room Details

NameRoom R-2
Price150
RoomID R-2 context
Price 150 input
Reserve Back

One action, one recorded result

What the application records

accepted form room-form · price 150
ReserveRoom → Reservation R-2 · RoomID R-2 · Price 150

The price rule, checked before anything is sent

refused Price 10 — “too cheap”
accepted Price 50

In the application: open Room R-2 and submit the reservation form with a price of 150. The form is accepted, and the ReserveRoom action is dispatched to the Reservation for room R-2 — the system records exactly what you did, with the room and the price you gave.

The form is checked before anything is sent: a price below the minimum is refused with the rule's message (“too cheap”), the form stays editable, and nothing is sent. A price that satisfies the rule is dispatched. These are the application's pinned, verified behaviours.

What the maker configured

Two screens and one binding, in business words: a list of rooms, and a details screen with a reservation form. The form's room comes from the room you picked in the list — the requester only enters the price. On submit, the reservation action is recorded for that room.

A request and a confirmed booking are distinct outcomes: this application records the request. A confirmation is a separate step — the model keeps the two apart.

If you know EventStorming or DDD, this model will feel familiar: a read model, a command with a parameter rule, and an aggregate — in Flowmade's simplified default vocabulary.

The designer is available with a Google sign-in — your own workspace is created automatically. For a guided evaluation: hugo@flowmade.one.