Stage 4 of 17
The process design defines the lifecycle of a visit — from pre-registration through to departure, cancellation, or no-show. Understanding the lifecycle before building ensures the data model and application logic are designed correctly.
Why Are We Doing This?
Expected
Host pre-registers visit
Arrived
Reception checks in visitor
Host Notified
Auto-notification sent
Departed
Reception checks out visitor
Branch Statuses (from Expected)
Cancelled
Host cancels before arrival
No Show
Visitor does not arrive
Expected
The visit has been pre-registered by the host. The visitor has not yet arrived.
Set By
Set by the host when pre-registering the visit.
SLA
No SLA. Visit remains Expected until the visitor arrives, is cancelled, or is marked No Show.
Valid Transitions
Invalid Transitions
Arrived
The visitor has arrived at reception and been checked in. The actual arrival time has been recorded.
Set By
Set by reception when the visitor arrives.
SLA
Host notification must be sent within 2 minutes of this status being set (SC-002).
Valid Transitions
Invalid Transitions
Host Notified
The host has been notified that their visitor has arrived. The visitor is waiting at reception.
Set By
Set automatically by the Power Automate flow after the arrival notification is sent.
SLA
No formal SLA. The host is expected to collect the visitor promptly.
Valid Transitions
Invalid Transitions
Departed
The visitor has left the building. The actual departure time has been recorded. This is a terminal status.
Set By
Set by reception when the visitor signs out.
SLA
N/A — terminal status.
Valid Transitions
Invalid Transitions
Cancelled
The visit has been cancelled before the visitor arrived. This is a terminal status.
Set By
Set by the host or an administrator.
SLA
N/A — terminal status.
Valid Transitions
Invalid Transitions
No Show
The visitor did not arrive on the expected visit date. This is a terminal status.
Set By
Set by reception at the end of the visit day, or by an administrator.
SLA
N/A — terminal status.
Valid Transitions
Invalid Transitions
| Action | Employee (Host) | Reception | Facilities | Administrator |
|---|---|---|---|---|
| Pre-register a visit | ✓ | ✓ | — | ✓ |
| View own upcoming visits | ✓ | ✓ | — | ✓ |
| Cancel a visit | ✓ (own) | ✓ | — | ✓ |
| Check in a visitor | — | ✓ | — | ✓ |
| Check out a visitor | — | ✓ | — | ✓ |
| Mark as No Show | — | ✓ | — | ✓ |
| View all visits (any host) | — | ✓ | ✓ (read) | ✓ |
| View on-site list | — | ✓ | ✓ | ✓ |
| Delete visit records | — | — | — | ✓ |
Design Decision: Why is "Host Notified" a separate status from "Arrived"?
Chosen
Separate status
Alternative Considered
Single "Arrived" status with a notification flag
A separate Host Notified status makes it clear that the notification has been sent. If the notification flow fails, the status remains Arrived, which is a visible signal that something went wrong. With a single status and a flag, a failed notification is invisible.
Design Decision: Should walk-in visitors (not pre-registered) be allowed?
Chosen
Yes — walk-ins are allowed
Alternative Considered
Require pre-registration for all visitors
Requiring pre-registration for all visitors would be ideal from a security perspective, but it is not practical. Delivery drivers, unexpected clients, and other walk-ins will always occur. The system must handle them. Walk-in records are created by reception at check-in.
Design Decision: Who can cancel a visit?
Chosen
The host (for their own visits) and administrators
Alternative Considered
Only administrators can cancel
The host is the person who arranged the visit and is most likely to know it has been cancelled. Allowing hosts to cancel their own visits reduces the burden on administrators and reception.
Need more help with the concepts?
Visit DosToDigital for guides, templates, and deeper explanations.