Stage 4 of 17

Stage 4 of 17

Process

The training lifecycle has two dimensions: the process (what happens, in what order) and the status model (what state a training record is in at any point in time). Both must be designed before building anything.

The Training Lifecycle

1

Training Assigned

A manager or L&D identifies that an employee needs to complete a course. This may be because the course is mandatory and the employee has no record, or because a previous record is approaching expiry. At this point, no record exists in the Training Records list — the gap is identified through the compliance view.

Actor: Manager / L&DTrigger: Mandatory course identified as missing, or existing record approaching expiry
2

Training Completed

The employee completes the course. They receive a certificate or confirmation from the training provider. They email the certificate to the L&D team (Sandra Obi or a colleague).

Actor: EmployeeTrigger: Employee attends and passes the course
3

Completion Recorded

The L&D team creates a new training record in the Training Records list. They enter the employee, the course, and the completion date. The system automatically calculates the expiry date from the course validity period. The status is set to Valid.

Actor: L&D teamTrigger: Certificate received from employee
4

Valid

The training record is active and the expiry date is more than 60 days in the future. The record appears in the Valid Training view. No action is required.

Actor: SystemTrigger: Expiry date > today + 60 days
5

Approaching Expiry

The expiry date is within the next 60 days. The status changes to Expiring Soon. The record appears in the Expiring Training view. The automated reminder flow begins sending notifications.

Actor: System (Power Automate)Trigger: Expiry date ≤ today + 60 days
6

Reminder Sent

The system sends automated email reminders to the employee and their manager at 60, 30, and 7 days before expiry. Each reminder is sent once only — the system tracks which reminders have been sent to prevent duplicates.

Actor: System (Power Automate)Trigger: Expiry date = today + 60, today + 30, or today + 7
7

Expired

The expiry date has passed and no renewal record exists. The status changes to Expired. The record appears in the Expired Training view. The manager receives a notification.

Actor: SystemTrigger: Expiry date < today and no newer Valid record exists for the same employee and course
8

Renewed

The employee completes the course again. The L&D team creates a new training record. The old record remains in the system (historical record). The new record has status Valid. The employee's compliance status for this course is restored.

Actor: L&D teamTrigger: New completion certificate received

Status Model

Why Are We Doing This?

The status model defines what state a training record can be in and what determines that state. Unlike the leave request or visitor management labs, the training status is not set manually — it is derived from the expiry date and the current date. This means the status is always accurate, but it also means you cannot simply look at the Status column to find expired records — you need to query by expiry date.
Not Started

No training record exists for this employee and course combination. The employee has never completed the course.

Condition

No record in Training Records list for this employee + course

Display

Grey — no action taken

Required Action

Manager or L&D to assign the course to the employee.

Valid

A training record exists and the expiry date is more than 60 days in the future.

Condition

ExpiryDate > Today() + 60

Display

Green — compliant

Required Action

No action required.

Expiring Soon

A training record exists and the expiry date is within the next 60 days.

Condition

ExpiryDate ≤ Today() + 60 AND ExpiryDate ≥ Today()

Display

Amber — action required

Required Action

Employee should book and complete renewal. Manager and employee receive automated reminders.

Expired

A training record exists but the expiry date has passed. The employee is no longer compliant for this course.

Condition

ExpiryDate < Today()

Display

Red — non-compliant

Required Action

Employee must complete renewal immediately. Manager is notified.

Important: Status Is Derived, Not Stored

Key Design Decision

The Status field in the Training Records list is a calculated value — it is derived from the ExpiryDate and the current date. It is NOT a choice column that someone manually sets. This means:
  • A record that is Valid today will automatically become Expiring Soon in 59 days without anyone changing it.
  • A record that is Expiring Soon today will automatically become Expired when the expiry date passes.
  • You cannot filter the list by Status using a standard SharePoint view filter — you must filter by ExpiryDate range instead.
  • Power BI can calculate the status dynamically using DAX measures, which is more accurate than a stored status column.

Process Roles

Process StepEmployeeManagerL&D TeamSystem
Training Assigned—Identifies gapIdentifies gap—
Training CompletedCompletes course———
Completion RecordedSends certificate—Creates recordCalculates expiry
Valid——MonitorsUpdates status
Approaching Expiry—Receives reminderMonitorsSends reminders
Reminder SentReceives reminderReceives reminder—Sends reminders
Expired—Receives notificationMonitorsUpdates status
RenewedCompletes course—Creates new recordCalculates new expiry

Design Decisions

Decision 1: Status is derived from ExpiryDate, not stored as a choice column

Rationale

A stored status column requires manual updates or a scheduled flow to keep it accurate. A derived status is always correct. The trade-off is that you cannot filter by Status in a SharePoint view — you must filter by ExpiryDate range. This is acceptable because the views are designed around date ranges, not status values.

Alternative Considered

Store status as a choice column and update it via a scheduled Power Automate flow. Rejected because: (1) the flow could fail, leaving stale status values; (2) it adds complexity; (3) it creates a dependency on the flow running successfully.

Decision 2: Renewals create new records, not updates

Rationale

Creating a new record for each completion preserves the full history of an employee's training. This is required by REQ-023 and supports the 7-year retention requirement. It also means the "most recent" record for a course is always the one with the latest CompletionDate.

Alternative Considered

Update the existing record with the new completion date. Rejected because: (1) it destroys historical data; (2) it violates REQ-023; (3) it makes it impossible to audit how many times an employee has completed a course.

Decision 3: Power Apps is optional for the base build

Rationale

Microsoft Lists provides a sufficient interface for L&D administrators to manage training records. Power Apps would add a more polished user interface but is not required for the core functionality. Adding Power Apps increases build complexity and maintenance overhead. The base build uses Lists only; Power Apps is an optional enhancement.

Alternative Considered

Build a Power Apps canvas app as the primary interface. Deferred to a future improvement (IMP-001) — the base build must be functional without it.

Stage Complete — What You Now Have

  • ✓8-step training lifecycle from assignment to renewal
  • ✓4-status model (Not Started, Valid, Expiring Soon, Expired) with conditions
  • ✓Key design decision: status is derived, not stored
  • ✓Process roles matrix
  • ✓3 design decisions with rationale and alternatives considered

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