Stage 4 of 17

Stage 4 of 17

Process Design

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?

The lifecycle diagram is one of the most important outputs of the process stage. It defines every state a visit can be in, every valid transition between states, and every invalid transition. If you build the application without this, you will discover missing states and invalid transitions during testing — which is much more expensive to fix.

Visit Lifecycle

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

Status Definitions

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

  • ✓Arrived (visitor checks in)
  • ✓Cancelled (host cancels)
  • ✓No Show (visitor does not arrive)

Invalid Transitions

  • ✗Cannot go directly to Departed
  • ✗Cannot go directly to Host Notified

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

  • ✓Host Notified (notification sent automatically)
  • ✓Departed (if host notification is skipped — not recommended)

Invalid Transitions

  • ✗Cannot go back to Expected
  • ✗Cannot go to Cancelled

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

  • ✓Departed (visitor leaves)

Invalid Transitions

  • ✗Cannot go back to Arrived or Expected
  • ✗Cannot go to Cancelled

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

  • ✓None — terminal status.

Invalid Transitions

  • ✗Cannot transition to any other status once Departed.

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

  • ✓None — terminal status.

Invalid Transitions

  • ✗Cannot be cancelled once the visitor has Arrived.

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

  • ✓None — terminal status.

Invalid Transitions

  • ✗Cannot be set if the visitor has already Arrived.

Process Roles

ActionEmployee (Host)ReceptionFacilitiesAdministrator
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 Decisions

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.

Stage Complete — What You Now Have

  • ✓6-status lifecycle: Expected → Arrived → Host Notified → Departed (+ Cancelled, No Show branches)
  • ✓Each status: description, who sets it, SLA, valid and invalid transitions
  • ✓Process roles matrix (Employee, Reception, Facilities, Administrator)
  • ✓3 design decisions with alternatives and rationale

Need more help with the concepts?

Visit DosToDigital for guides, templates, and deeper explanations.

DosToDigital
DToD Labs

Learn it. Build it. Make it work.

A DosToDigital Project

About DToD Labs

Practical technology learning for Microsoft 365 and Power Platform. Build real business solutions from real business problems.

Learn the concepts at DosToDigital. Put them into practice at DToD Labs.

DToD Labs provides practical learning projects for educational purposes. Microsoft services, interfaces, licensing and product capabilities change over time. Always check current Microsoft documentation and licensing before implementing a solution in a production environment. All organisations, business scenarios and data used in DToD Labs are fictional. Learners should not use confidential employer, customer or personal information when following DToD Labs exercises.

© 2026 DToD Labs — A DosToDigital Project