Lifecycle, calendar & cleanup
Part of Appointment Booking.
From booking to calendar
A confirmed booking blocks the slot immediately: the booking itself is what reserves the time, and the no-double-booking guarantee holds regardless of what any calendar shows. Everything calendar-related follows as invitations by email (iMIP, see ADR-0010):
- On confirmation, Booking sends the calendar invitation as the organizer, and both the owner and the booker receive it. The appointment lands in the owner's App Suite Calendar like any invitation, and the booker's copy works the same way in any calendar system (App Suite, Gmail, Outlook, …).
- The invitation is titled after the booking page with the booker's name in parentheses, for example Workshop (Jessy), so a day of bookings off one page stays readable. Its description carries the page's own description, then the comment the booker left. Owner and booker share one calendar entry, so both see the same title and description, and the line introducing the comment is always in English.
- The owner accepting the invitation is feedback, not a gate: it changes what their calendar shows, never whether the slot is booked.
- The booker additionally receives Booking's own confirmation mail with the manage link (see Public booking page).
Cancellation
- By the booker - via the manage link. The booking is marked cancelled, an iMIP
CANCELgoes to the owner (removing the event from their calendar through standard processing), and the slot is immediately offered again. - By the owner - one appointment at a time, with the same mechanics. The booker receives the
CANCELplus a plain cancellation mail. The side panel has no list of a page's appointments yet, so this is not reachable from the UI.
Deleting a whole booking page cancels nothing. Every appointment already booked through it stays in both calendars, and no mail goes out. The booker keeps the link from their confirmation mail and can still cancel with it. Picking a new time is refused, because the page that offered those times is gone (see Availability).
Declining or deleting the invitation in the owner's calendar does not cancel the booking or free the slot - an accidental deletion must never trigger a cancellation mail to an external person. Booking does not read inbound mail and does not track iTIP REPLYs, so a calendar-side decline or deletion is not reflected back into the booking; cancellation always runs through the manage link or the API.
Cancelled bookings are retained (marked as such) until cleanup removes them; a cancelled slot's manage link only allows rebooking, nothing else.
Reschedule
The manage link offers "pick a new time": the booker lands back on the slot picker with their details prefilled, and confirming a new slot moves the booking atomically.
The appointment moves rather than being cancelled and re-created. Both calendars keep the same entry and simply shift it to the new time (an iMIP UPDATE, see ADR-0010), and each party receives one mail about the change, showing the previous time against the new one. The booker's copy carries the new manage link, which replaces the old one.
The dialog asks for an optional reason for the reschedule. It is shown to the owner as exactly that — the answer to "why did this move" — and is kept apart from the booking's own comment, which travels along unchanged. A reason applies to the one move it was given for: rescheduling twice does not carry the first explanation into the second mail.
Picking a new time from an already cancelled booking is not a reschedule but a fresh booking: the cancellation has already been announced, so it gets its own calendar entry and the usual confirmation. This is allowed once, after which the new booking's manage link takes over.
Notifications & locales
Booker-facing mail (confirmation, cancellation notices) uses the locale stored on the booking - the language the booking page was in when the booking was made (see Public booking page). Owner-facing notifications use the owner's App Suite locale. A booking's mail language never changes over its lifetime, even if the owner's settings do.
Owner's view
The owner's App Suite Calendar is the primary surface for their bookings: each confirmed booking appears there like any other invited appointment, carrying the booker's name, message, and contact details.
Retention & cleanup
Booking data is personal data of external people and must not accumulate: bookings are deleted a configurable time after their slot has passed (cancelled ones likewise, counted from cancellation), by the same cleanup job that removes expired polls. Appointment type configurations themselves are not auto-deleted, only booking records are.

