Stage 4 of 17
Process design maps the flow of work through the system — who does what, in what order, and what happens at each decision point. In this stage you will document the current-state process, the future-state process, the status lifecycle, and the solution architecture.
Why Are We Doing This?
The current process has seven steps across three actors: Employee, Manager, and HR. The key problems are highlighted in red.
Current State — Email-Based Leave Request Process
Employee
Manager
HR
Decides to take leave. Checks own calendar.
Sends email to manager with dates and leave type.
Receives email (may be buried in inbox).
P-001: Requests lost in email
Checks team calendar (often out of date). Decides to approve or reject.
P-007: Calendar conflicts
Replies to email with decision. No standard format.
P-003: Inconsistent process
Receives reply. If approved, manually updates own calendar and team calendar.
P-004: Unclear status; P-002: No central record
Emails all managers monthly to collect leave data. Compiles spreadsheet manually.
P-005: Difficult reporting; P-006: No audit trail
The future-state process introduces the Power Apps app and the Power Automate approval flow. The key improvements over the current state are highlighted in green.
Future State — Power Apps Leave Request Process
Employee
Power Apps
Power Automate
Manager
Opens Power Apps app. Selects New Request.
Enters leave type, start date, end date, and optional comments. App calculates working days.
✓ Structured data entry; validation prevents invalid dates
Selects Submit. App validates the form and creates a record in Microsoft Lists with Status = Submitted.
✓ Central record created immediately; no email required
Trigger fires on new Submitted record. Sends approval email to the manager specified in the request.
✓ Automated; manager receives a clear, structured notification
Receives approval email with Approve/Reject buttons and request details. Adds optional comments.
✓ One-click decision; no need to open the app
Receives manager's response. Updates the list record: Status, Approver, Decision Date, Approver Comments.
✓ Automatic update; no manual data entry required
Sends notification email to employee with the decision and manager's comments.
✓ Employee notified immediately; no chasing required
Receives notification email. Opens app to view updated request status and comments.
✓ Full visibility of request status at any time
Every leave request has a Status field. The status changes as the request moves through the process. Understanding the valid status transitions is essential for building the flow and the app correctly.
Status Lifecycle — Valid Transitions
Draft
Saved but not yet submitted
Submitted
Submitted; awaiting manager decision
Approved
Manager approved
Rejected
Manager rejected
Cancelled
Employee cancelled before decision
Valid Transitions
Invalid Transitions
Cancellation is handled separately from the main approval flow because it can happen at different points and involves different actors.
Employee cancels a Draft
The employee deletes the draft record in the app. No notification is sent. The record is removed from the list (or status set to Cancelled).
Employee cancels a Submitted request (before decision)
The employee selects Cancel in the app. The status is updated to Cancelled. The Power Automate approval is cancelled (if the flow supports this). The manager receives a notification that the request has been withdrawn.
Employee wants to cancel an Approved request
This is out of scope for v1. The employee must contact HR directly. This is a known limitation documented in the support guide.
Common Mistake
The solution has four components. Understanding how they connect is essential before building any of them.
Microsoft Lists — Leave Requests
Data storeStores all leave request records. Every request is a row in the list. The Power Apps app reads from and writes to this list. The Power Automate flow also reads from and writes to this list.
Technology: SharePoint / Microsoft Lists
Power Apps Canvas App
User interfaceThe app employees use to submit requests and view their status. Connects directly to the Microsoft Lists data store via the SharePoint connector. Enforces client-side validation before creating records.
Technology: Power Apps (canvas app)
Power Automate — DToDLab002-LeaveApproval
Approval workflowTriggered when a new record is created in the Leave Requests list with Status = Submitted. Sends an approval email to the manager. Updates the list record with the decision. Sends a notification email to the employee.
Technology: Power Automate (automated cloud flow)
Microsoft Outlook / Teams
Notification channelApproval emails are sent to managers via Outlook. Notification emails are sent to employees via Outlook. The app can optionally be added as a tab in a Microsoft Teams channel.
Technology: Microsoft Outlook / Microsoft Teams
Design Decision
DD-001: Use Power Apps canvas app rather than a model-driven app
Rationale
A canvas app gives full control over the user interface and is simpler to build for a beginner. A model-driven app would require Dataverse, which requires a premium licence. The canvas app can connect directly to Microsoft Lists using the standard SharePoint connector.
Trade-off: Canvas apps require more manual UI work. Model-driven apps provide more built-in functionality (views, forms, business rules) but at higher cost and complexity.
Design Decision
DD-002: Store manager email in the request, not look it up from Azure AD
Rationale
Looking up the manager from Azure AD requires the Azure AD connector, which is a premium connector. Storing the manager's email in the request is simpler and within the standard licence.
Trade-off: If a manager changes, existing requests still reference the old manager. The employee must enter the correct manager email — there is no validation against a directory. This is a known limitation documented in the support guide.
Design Decision
DD-003: Use Power Automate approval action rather than a custom approval screen in the app
Rationale
The built-in Power Automate approval action sends an email with Approve/Reject buttons. The manager can respond without opening the app. This meets DF-002 (frictionless approval) and requires no additional development.
Trade-off: The approval email format is controlled by Microsoft and cannot be fully customised. The manager cannot add rich formatting to their comments.
Design Decision
DD-004: Use Microsoft Lists rather than Dataverse as the data store
Rationale
Microsoft Lists is included in Microsoft 365 Business Standard. Dataverse requires a Power Apps premium licence. For a simple leave request application with a small number of records, Microsoft Lists is sufficient.
Trade-off: Microsoft Lists has limitations: no complex relationships, no calculated columns in flows, limited business logic. If the solution grows significantly, migration to Dataverse may be needed.
Design Decision
DD-005: Working days calculation excludes weekends only
Rationale
Calculating working days accurately requires a bank holiday calendar, which varies by country and region. For v1, the calculation will exclude weekends only. The displayed value is informational — it is not used for leave balance deduction.
Trade-off: The displayed working days count will be incorrect for requests that span bank holidays. This is documented as a known limitation.
Need more help with the concepts?
Visit DosToDigital for guides, templates, and deeper explanations.