Bluewoo HRMS

Workflow Use Cases

Use cases for onboarding, offboarding, task tracking, and equipment management

Workflow Use Cases

This document describes use cases for employee onboarding and offboarding workflows, task management, checklist tracking, and equipment provisioning/return.

Actors

ActorDescription
Tenant AdminCreates and manages workflow templates
HR ManagerInitiates workflows, tracks completion
ManagerTracks team member workflow progress
EmployeeCompletes assigned workflow tasks
ITHandles equipment-related tasks

UC-WF-01: Tenant Admin Creates Onboarding Checklist

Primary Actor: Tenant Admin

Preconditions

  • Tenant Admin is authenticated
  • Has workflow management permissions

Main Flow

  1. Tenant Admin navigates to Workflows → Templates
  2. Clicks "Create Template"
  3. Selects template type: Onboarding
  4. Enters template details:
    • Template name (e.g., "Standard Onboarding")
    • Description
    • Target role/department (optional)
  5. Adds tasks to checklist:
    • Task name
    • Description/instructions
    • Assignee type:
      • New Employee
      • Manager
      • HR
      • IT
      • Custom role
    • Due date (relative to start date, e.g., "Day 1", "Week 1")
    • Required vs optional
    • Dependencies (task B requires task A)
  6. Adds document links (policies to read)
  7. Saves template
  8. Template available for use

Alternative Flows

A1: Clone Existing Template

  1. Admin selects existing template
  2. Clicks "Clone"
  3. Modifies as needed
  4. Saves as new template

A2: Department-Specific Template

  1. Creates template for specific department
  2. Different tasks for Engineering vs Sales
  3. Template auto-selected when employee's department matches

Postconditions

  • Onboarding template created and active
  • Available when new employees are added

Example Onboarding Checklist

TaskAssigneeDueRequired
Complete personal profileNew EmployeeDay 1
Read Employee HandbookNew EmployeeDay 1
Accept IT Usage PolicyNew EmployeeDay 1
Request laptop setupITDay 1
Set up email accountITDay 1
Meet with managerNew EmployeeDay 1
Complete security trainingNew EmployeeWeek 1
Team introductionsManagerWeek 1
30-day check-inHRDay 30
Set initial goalsNew EmployeeWeek 2

UC-WF-02: New Hire Completes Onboarding

Primary Actor: New Employee

Preconditions

  • Employee has been added to the system
  • Onboarding workflow has been initiated
  • Employee has logged in for first time

Main Flow

  1. New employee logs in
  2. Dashboard shows onboarding widget prominently:
    • Overall progress (e.g., "3 of 12 tasks complete")
    • Progress bar
    • Next tasks due
  3. Clicks to view full onboarding checklist
  4. For each task:
    • Reads task description/instructions
    • Clicks links to referenced documents
    • Completes required action
    • Marks task as complete
    • Adds notes if needed
  5. System tracks completion percentage
  6. Notifications sent for approaching due dates
  7. All tasks complete → Onboarding marked as finished

Alternative Flows

A1: Task Requires Manager Action

  1. Some tasks assigned to manager, not employee
  2. Employee sees task as "Waiting on Manager"
  3. Manager receives notification to complete

A2: Overdue Task

  1. Task passes due date incomplete
  2. Task highlighted as overdue
  3. Reminder sent to employee and manager
  4. HR notified if significantly overdue

A3: Optional Tasks

  1. Optional tasks shown separately
  2. Employee can skip without blocking completion
  3. Encouraged but not required

Postconditions

  • Onboarding tasks tracked
  • Progress visible to employee, manager, HR
  • Completion recorded for compliance

New Employee Onboarding View

┌────────────────────────────────────────────────────────────┐
│ Welcome, John! Complete your onboarding                    │
│                                                            │
│ Progress: ████████░░░░░░░░░░░░ 40% (5 of 12 tasks)        │
├────────────────────────────────────────────────────────────┤
│ Day 1 Tasks                                                │
│ ✅ Complete personal profile                               │
│ ✅ Read Employee Handbook                                  │
│ ✅ Accept IT Usage Policy                                  │
│ ⏳ Meet with manager (Scheduled for 2 PM)                  │
│ ✅ Laptop setup - Completed by IT                          │
│ ✅ Email account created                                   │
├────────────────────────────────────────────────────────────┤
│ Week 1 Tasks                                               │
│ ○ Complete security training                               │
│ ○ Team introductions (Assigned to your manager)            │
│ ○ Review team documentation                                │
├────────────────────────────────────────────────────────────┤
│ Week 2 Tasks                                               │
│ ○ Set initial goals                                        │
│ ○ Schedule 1:1 with manager                                │
└────────────────────────────────────────────────────────────┘

UC-WF-03: Manager Tracks Onboarding Progress

Primary Actor: Manager

Preconditions

  • Manager is authenticated
  • New hire on manager's team has active onboarding

Main Flow

  1. Manager logs in
  2. Dashboard shows notification:
    • "New team member onboarding in progress"
    • Quick progress indicator
  3. Clicks to view new hire's onboarding
  4. Sees full checklist with:
    • Tasks assigned to new hire
    • Tasks assigned to manager
    • Tasks assigned to others (IT, HR)
    • Completion status of each
  5. For tasks assigned to manager:
    • Completes task
    • Marks as done
  6. Can send reminders for overdue tasks
  7. Can add notes/comments

Alternative Flows

A1: Multiple New Hires

  1. Manager has multiple new team members
  2. Views list of all onboarding employees
  3. Selects individual to see their progress

A2: Reassign Task

  1. Manager cannot complete assigned task
  2. Reassigns to another person
  3. Reason recorded

A3: Extend Deadline

  1. Task cannot be completed on time
  2. Manager requests deadline extension
  3. HR approves extended timeline

Postconditions

  • Manager has visibility into new hire progress
  • Manager tasks completed
  • Can support new hire as needed

Manager Onboarding Tracking View

┌────────────────────────────────────────────────────────────┐
│ Team Onboarding Status                                      │
├────────────────────────────────────────────────────────────┤
│ John Smith (joined Dec 1)                                  │
│ ████████████░░░░░░░░ 60% complete                          │
│ 🔴 1 task overdue  🟡 2 tasks due today                    │
│                                                            │
│ Your Tasks:                                                │
│ ⏳ Team introductions - Due today                          │
│ ○ 30-day performance discussion - Due Dec 30              │
│                                                            │
│ [View Full Checklist] [Send Reminder]                      │
├────────────────────────────────────────────────────────────┤
│ Sarah Lee (joined Nov 15)                                  │
│ ████████████████████ 100% complete ✅                      │
│ Onboarding finished Nov 29                                 │
└────────────────────────────────────────────────────────────┘

UC-WF-04: Initiate Offboarding

Primary Actor: Tenant Admin, HR Manager

Preconditions

  • Actor is authenticated
  • Employee exists and is being terminated
  • Offboarding template exists

Main Flow

  1. Actor terminates employee (UC-EMP-06)
  2. System automatically initiates offboarding workflow:
    • Selects appropriate template
    • Sets task due dates based on last day
    • Assigns tasks to relevant parties
  3. Or actor manually initiates:
    • Navigates to employee profile
    • Clicks "Start Offboarding"
    • Selects offboarding template
    • Confirms initiation
  4. Workflow tasks created and assigned:
    • To departing employee
    • To manager
    • To IT
    • To HR
  5. All parties notified

Alternative Flows

A1: Immediate Termination

  1. Employee leaving same day
  2. All tasks marked urgent
  3. IT tasks prioritized (revoke access)

A2: Resignation with Notice Period

  1. Last day is 2+ weeks out
  2. Tasks scheduled appropriately
  3. Knowledge transfer tasks added

Postconditions

  • Offboarding workflow active
  • All stakeholders assigned tasks
  • Equipment return tracked
  • Access revocation scheduled

Example Offboarding Checklist

TaskAssigneeDueCategory
Return company laptopDeparting EmployeeLast DayEquipment
Return ID badgeDeparting EmployeeLast DayEquipment
Return parking passDeparting EmployeeLast DayEquipment
Knowledge transfer sessionDeparting EmployeeLast Day - 5Transition
Update documentationDeparting EmployeeLast Day - 3Transition
Exit interviewHRLast DayHR
Final paycheck processingHRLast Day + 3HR
Revoke system accessITLast Day EODSecurity
Revoke email accessITLast Day EODSecurity
Disable SSOITLast Day EODSecurity
Recover equipmentITLast Day + 1Equipment
Remove from directoriesITLast Day + 1Security
Reassign direct reportsManagerLast DayTransition
Notify teamManagerDay of announcementCommunication

UC-WF-05: Track Equipment Return

Primary Actor: Tenant Admin, IT

Preconditions

  • Actor is authenticated
  • Employee is offboarding
  • Equipment is assigned to employee (via custom fields)

Main Flow

  1. Actor navigates to offboarding workflow
  2. Views equipment-related tasks:
    • List of equipment assigned to employee
    • Status of each item (Assigned, Returned, Missing)
  3. For each equipment item:
    • Verifies physical return
    • Inspects condition
    • Updates status in system
    • Notes any damage or issues
  4. Updates custom fields on employee profile:
    • "Company Laptop" → Cleared
    • "Mobile Phone" → Cleared
    • "Parking Pass" → Cleared
  5. Marks equipment return tasks complete
  6. Generates equipment return report if needed

Alternative Flows

A1: Equipment Not Returned

  1. Employee doesn't return equipment by due date
  2. System escalates to HR
  3. HR follows up with employee
  4. May result in payroll deduction per policy

A2: Damaged Equipment

  1. Equipment returned but damaged
  2. IT notes damage and condition
  3. Assessment logged
  4. May trigger replacement process

A3: Remote Employee Equipment

  1. Employee is remote
  2. Shipping labels generated
  3. Return tracking provided
  4. Deadline extended for shipping time

Postconditions

  • Equipment return status tracked
  • Employee record updated
  • Inventory system synced
  • Audit trail for compliance

Equipment Return Tracking View

┌────────────────────────────────────────────────────────────┐
│ Equipment Return - John Smith (Last Day: Dec 15)           │
├────────────────────────────────────────────────────────────┤
│ Equipment Assigned                                         │
│                                                            │
│ ┌──────────────────────────────────────────────────────┐   │
│ │ MacBook Pro 14" (SN: ABC123)                         │   │
│ │ Assigned: Jan 15, 2023                               │   │
│ │ Status: ⬜ Not Returned                              │   │
│ │ [Mark Returned] [Mark Damaged] [Mark Missing]        │   │
│ └──────────────────────────────────────────────────────┘   │
│                                                            │
│ ┌──────────────────────────────────────────────────────┐   │
│ │ iPhone 14 Pro (SN: XYZ789)                           │   │
│ │ Assigned: Jan 15, 2023                               │   │
│ │ Status: ✅ Returned (Dec 14, condition: Good)        │   │
│ └──────────────────────────────────────────────────────┘   │
│                                                            │
│ ┌──────────────────────────────────────────────────────┐   │
│ │ Parking Pass (#234)                                  │   │
│ │ Assigned: Jan 15, 2023                               │   │
│ │ Status: ✅ Returned (Dec 14)                         │   │
│ └──────────────────────────────────────────────────────┘   │
│                                                            │
│ Return Summary: 2 of 3 items returned                      │
│ ⚠️ 1 item pending (Laptop)                                 │
└────────────────────────────────────────────────────────────┘

Summary

Use CasePrimary ActorPurpose
UC-WF-01Tenant AdminCreate onboarding checklist templates
UC-WF-02New EmployeeComplete onboarding tasks
UC-WF-03ManagerTrack new hire onboarding progress
UC-WF-04Admin, HRInitiate offboarding workflow
UC-WF-05Admin, ITTrack equipment return during offboarding

Workflow Lifecycle

┌──────────────────────────────────────────────────────────────┐
│                    Workflow Lifecycle                        │
├──────────────────────────────────────────────────────────────┤
│                                                              │
│   TEMPLATE            INSTANCE              TASK             │
│   ┌─────────┐         ┌─────────┐          ┌─────────┐      │
│   │ Admin   │ ──────► │ Started │ ───────► │ Pending │      │
│   │ creates │         │ for     │          │         │      │
│   │ template│         │ employee│          └────┬────┘      │
│   └─────────┘         └─────────┘               │            │
│                                                 ▼            │
│                                           ┌─────────┐        │
│                                           │ In      │        │
│                                           │ Progress│        │
│                                           └────┬────┘        │
│                                                │             │
│                                    ┌───────────┼───────────┐ │
│                                    │           │           │ │
│                                    ▼           ▼           ▼ │
│                              ┌─────────┐ ┌─────────┐ ┌──────┐│
│                              │Completed│ │ Skipped │ │Overdue││
│                              └─────────┘ └─────────┘ └──────┘│
│                                                              │
└──────────────────────────────────────────────────────────────┘

Integration with Custom Fields

Workflows integrate with custom fields (UC-EMP-08) for equipment tracking:

Custom FieldWorkflow TaskUse
Company LaptopReturn laptopPre-filled with serial number
Mobile PhoneReturn phonePre-filled with model
Parking PassReturn passPre-filled with pass number
Company CarReturn vehiclePre-filled with vehicle info
Key CardReturn key cardPre-filled with card ID

When offboarding initiates:

  1. System reads custom fields for equipment
  2. Generates return tasks with equipment details
  3. Links to equipment inventory
  4. Updates fields when items returned

AI Chat Integration

The following workflow use cases can be triggered via AI Chat. See AI Chat Specification for full implementation details.

AI Chat-Enabled Actions

Use CaseAI ToolRequires Confirmation
UC-WF-01workflow_createYes
UC-WF-02workflow_complete_taskYes
UC-WF-03workflow_trackNo (read-only)
UC-WF-04offboarding_initiateYes
UC-WF-05workflow_trackNo (read-only)

UC-WF-01: Create Onboarding Workflow via AI Chat

Example prompts:

  • "Create an onboarding flow for Frontend Developers"
  • "Set up onboarding checklist for new engineers"
  • "Create Engineering onboarding template with IT setup and security training"

AI Chat Flow:

User: "Create an onboarding flow for Frontend Developers"

AI: Shows Confirmation Card
┌─────────────────────────────────────────────┐
│ Create Onboarding Workflow                  │
│                                             │
│ Name: Frontend Developer Onboarding         │
│ Type: Onboarding                            │
│ Department: Engineering                     │
│ Tasks: 12 items (auto-generated)            │
│                                             │
│ [Cancel]                    [Confirm]       │
└─────────────────────────────────────────────┘

User: Clicks [Confirm]

AI: Shows Result Card
┌─────────────────────────────────────────────┐
│ [ok] Workflow Template Created              │
│                                             │
│ "Frontend Developer Onboarding"             │
│ 12 tasks | Engineering department           │
│                                             │
│ [View Template] [Start for Employee]        │
└─────────────────────────────────────────────┘

UC-WF-03: Track Onboarding Progress via AI Chat

Example prompts:

  • "How is John's onboarding going?"
  • "Show onboarding progress for new hires"
  • "What tasks are overdue for new employees?"

AI Chat Flow:

User: "How is John's onboarding going?"

AI: Shows Info Card
┌─────────────────────────────────────────────┐
│ Onboarding Progress: John Smith             │
│                                             │
│ Progress: ████████░░░░ 60% (7/12 tasks)     │
│                                             │
│ Completed:                                  │
│ - Complete personal profile                 │
│ - Read Employee Handbook                    │
│ - IT equipment setup                        │
│                                             │
│ Pending:                                    │
│ - Security training (due in 2 days)         │
│ - Team introductions                        │
│                                             │
│ [View Full Checklist]                       │
└─────────────────────────────────────────────┘

UC-WF-04: Initiate Offboarding via AI Chat

Example prompts:

  • "Start offboarding for Sarah"
  • "Initiate exit process for employee leaving Friday"
  • "Begin offboarding for John Smith, last day December 15"

AI Chat Flow:

User: "Start offboarding for Sarah, last day is December 15"

AI: Shows Confirmation Card
┌─────────────────────────────────────────────┐
│ Initiate Offboarding                        │
│                                             │
│ Employee: Sarah Johnson                     │
│ Last Day: December 15, 2024                 │
│ Template: Standard Offboarding              │
│ Tasks: 14 items                             │
│                                             │
│ This will:                                  │
│ - Create offboarding workflow               │
│ - Notify IT, HR, and Manager                │
│ - Schedule access revocation                │
│                                             │
│ [Cancel]                    [Confirm]       │
└─────────────────────────────────────────────┘

User: Clicks [Confirm]

AI: Shows Result Card
┌─────────────────────────────────────────────┐
│ [ok] Offboarding Initiated                  │
│                                             │
│ Sarah Johnson's offboarding started         │
│ 14 tasks created | IT, HR, Manager notified │
│                                             │
│ [View Workflow] [View Equipment List]       │
└─────────────────────────────────────────────┘

Business Rules for AI Chat Workflow Actions

RuleDescription
Permission CheckUser must have workflow management permission
Template SelectionAI auto-selects appropriate template based on department/role
Task GenerationAI can generate tasks based on description if no template exists
NotificationAll relevant parties automatically notified
Audit TrailAll AI-initiated workflows logged with AI actor