Stage 6 of 17
The architecture for DTOD-005 uses three Microsoft Lists, one Power Automate flow, and a Power BI dashboard. This stage explains why Power Apps is optional for the base build, defines the views for each list, and designs the flow and dashboard at a high level.
In DTOD-002 (Leave Request) and DTOD-003 (Employee Ideas Portal), Power Apps was the primary user interface. In DTOD-005, the primary users are the L&D team — a small group of 3 people who are comfortable working directly in SharePoint and Microsoft Lists. Power Apps would add a more polished interface, but it is not required for the core functionality.
Base build (Lists only)
Optional enhancement (Power Apps)
Decision: Build the base system using Lists only. Power Apps is documented as IMP-001 in the improvement backlog. The base build must be fully functional without it.
Microsoft Lists — Employees
Reference data. Stores the employee register. Managed by L&D or HR. Read-only for most users.
Users: L&D team (edit), Managers (read own team), Employees (read own record)
Microsoft Lists — Courses
Reference data. Stores the course catalogue. Managed by L&D. Read-only for most users.
Users: L&D team (edit), All users (read)
Microsoft Lists — Training Records
Transactional data. One record per completion. Created by L&D. The core of the system.
Users: L&D team (create, edit), Managers (read own team), Employees (read own records)
Power Automate — Expiry Reminder Flow
Runs daily. Checks for records approaching expiry at 60, 30, and 7 days. Sends email reminders to employee and manager. Updates reminder flags to prevent duplicates.
Users: Automated — no user interaction
Power BI — Compliance Dashboard
Connects to the Training Records list. Provides real-time compliance views by team, course, and office. Accessible to managers and L&D.
Users: L&D team (full view), Managers (team view), Reporting users (read)
Employees list views
All Items (default)
Active Employees
Courses list views
All Items (default)
Mandatory Courses
Training Records list views
All Items (default)
Valid Training
Expiring Training
Expired Training
DToDLab005-ExpiryReminder
Trigger: Scheduled — daily at 07:00 (weekdays)
Recurrence trigger
Runs every weekday at 07:00. Timezone: (UTC+00:00) Dublin, Edinburgh, Lisbon, London.
Get items — Training Records (60-day check)
Filter: ExpiryDate eq '[today + 60 days]' AND Reminder60Sent eq 'No'. Returns records expiring in exactly 60 days that have not yet had a 60-day reminder sent.
Apply to each — 60-day records
For each record: (a) Send email to employee and manager. (b) Update item: set Reminder60Sent = Yes.
Get items — Training Records (30-day check)
Filter: ExpiryDate eq '[today + 30 days]' AND Reminder30Sent eq 'No'.
Apply to each — 30-day records
For each record: (a) Send email to employee and manager. (b) Update item: set Reminder30Sent = Yes.
Get items — Training Records (7-day check)
Filter: ExpiryDate eq '[today + 7 days]' AND Reminder7Sent eq 'No'.
Apply to each — 7-day records
For each record: (a) Send email to employee and manager. (b) Update item: set Reminder7Sent = Yes.
Scope — failure handling
Wraps all steps. If any step fails, sends an alert email to the L&D team: "ALERT — Expiry reminder flow failed. Please check Power Automate run history."
Note — Power BI Licencing
Page: Overview
KPI cards: Total employees, Compliant (all mandatory valid), Non-compliant, Expiring soon. Donut chart: compliance status breakdown. Bar chart: compliance by team.
Page: Expiring Soon
Table: employee, course, expiry date, days remaining. Sorted by days remaining ascending. Slicer: team, office, course.
Page: Expired
Table: employee, course, expiry date, days overdue. Sorted by days overdue descending. Slicer: team, office, course.
Page: By Course
Bar chart: completion rate per course. Table: course, total employees, completed, expired, not started. Slicer: mandatory/optional.
Page: By Team
Matrix: team vs course, showing compliance status. Conditional formatting: green = valid, amber = expiring, red = expired/not started.
Page: Upcoming Expiry
Line chart: number of records expiring per month for the next 12 months. Helps L&D plan training capacity.
Employees
ReadTraining Records list: own records only (item-level permissions or Power Apps filter). Employees list: own record only. Courses list: all records (read).
Managers
ReadTraining Records list: own team's records only. Employees list: own team's records. Courses list: all records (read).
L&D Team
EditAll three lists: full create, read, update. Cannot delete records (deletion requires Administrator).
Administrators
Full ControlAll three lists. Can delete records. Manages permissions and site settings.
Need more help with the concepts?
Visit DosToDigital for guides, templates, and deeper explanations.