0% found this document useful (0 votes)
26 views39 pages

Software Design Assignment

The document outlines the functionalities of a Workforce Management system, detailing both Employee and Admin dashboards for user and task management. It emphasizes security features such as user authentication, data encryption, and role-based access control, while also addressing database management and scalability. Additionally, it includes pre-conditions, post-conditions, basic flows, and alternative flows for various user interactions and system operations.

Uploaded by

eng22310062
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views39 pages

Software Design Assignment

The document outlines the functionalities of a Workforce Management system, detailing both Employee and Admin dashboards for user and task management. It emphasizes security features such as user authentication, data encryption, and role-based access control, while also addressing database management and scalability. Additionally, it includes pre-conditions, post-conditions, basic flows, and alternative flows for various user interactions and system operations.

Uploaded by

eng22310062
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Workforce Management

Dashboard

> <<
e> inc
lud lud
inc e>
<< >

Admin Dashboard Personalized


user Dashboard

e>>

<<
clud

inc
lud
<<in

e>
>
Verify username
Verify email
and password

Creating, editing,
updating, or
deleting tasks
>
e>
lud
inc
<<

Centralized User
Managing user
and Task <<include>>
profiles
Management
<<
ex
ten
d>
>

Overseeing the
assignment and
completion of
tasks

Admin

user
Centralized and
Structured
Database

>
e>
Ensure Data

lud
inc
Integrity

<<
>
e>
lud
inc
<<

Database
<<include>> Efficient Queries
Management

<<
ex
ten
d>
>

Backup Options to

<<
Prevent Data Loss

ex
te
nd
>>
Smooth Operation
with Large Data
Volumes

Security

>> <<include
<<include >>

<<include>>
Two-step
Data encryption
verification

Role-based
access control

Improved
Efficiency

Scalability
WorkForce Diagram
Represents a general user in the
system who can log in, view tasks,
and manage their profile.
Represents the system’s database,
handling data storage and retrieval.
Attributes:
TASK
DATABASE ER diagrams show the connections
taskID: String
between multiple people, objects,
title: String
connectionStatus: Boolean
backupOptions: String
or ideas
description: Stringunder a single system.
Represents a task assigned to a
status: String user by the admin
assignedTo: User
queryDatabase(): void
dueDate: Date
backupData(): void
ensureDataIntegrity(): void
updateStatus():
USER
voidassignUser(): void
deleteTask(): void
username: String
email: String
password: String
profilePhoto: String
points: Integer
DASHBOARD SECURITY

tasks[]: Task login(): void 2FA: Boolean


profileDetails: User verifyEmail(): void role: String
Represents the user interface where
progressBar: Integer viewDashboard(): void
users or admins can view their tasks,
login(): void
profiles, and progress.
displayUserDashboard(): void verifyEmail(): void
displayAdminDashboard(): void viewDashboard(): void
Handles the system's security,
including user authentication and
data encryption.

ADMIN EMPLOYEE

createTask(): void (Inherits everything from User)


Represents an admin who has editTask(): void
elevated privileges, such as updateTask(): void
managing users and tasks.
manageUserProfile(): void
assignTasks(): void
PROJECT
WORKFORCE
MANAGEMENT

prepared by: Ali Yassir


INTRODUCTION
T hi s us e cas e de s cr i be s t he f unct i onali t i e s of
t he Das hboar d wi t hi n a s ys t e m , i ncludi ng a
Em ploye e Das hboar d f or ge ne r al e m ploye e s
and an Adm i n Das hboar d f or s ys t e m
adm i ni s t r at or s . T he Em ploye e Das hboar d
allows e m ploye e s t o vi e w t he i r pr of i le s ,
t as ks , and pr ogr e s s , whi le t he Adm i n
Das hboar d e nable s adm i ni s t r at or s t o m anage
t as ks and e m ploye e pr of i le s .
PRE-CONDITIONS POST- CONDITIONS
1. The employee or 1.Any modifications
admin has valid login made by the admin
credentials. (adding, editing,
ACTORS del eting tas ks ) are
2. Employees are s aved and refl ected
• Em ployee verified by an email in the empl oyee
• Adm in verification code, das hboard.
while admins log in
via username and
password. 2. Employee-specific
information is
3. The system is
accurately displayed
online, and all
required data (tasks,
STRATEGY
on their N°3
dashboard
after login.
profiles) is stored in
the database.
BASIC FLOW
EMPLOYEE DASHBOARD

L OGI N P ROCESS: VI EW P ROFI L E: VI EW TASK S AND VI EW TA SK


STATUS: P ROG RESS:
The employee The employee Employees can see The dashboard
enters their dashboard displays a list of assigned includes a
email, receives a the employee’s tasks with progress bar
verification code, name, profile statuses (e.g., showing the
and inputs the photo, and points. "In Progress" completion
code to log in. "Completed"). percentage of
tasks.
BASIC FLOW
ADMIN DASHBOARD
L OG I N P ROCESS: M ANAGE M ANAGE TASK S:
EM P L OY EE
P ROFI L E: o Add Task: Admin can assign new tasks to
employees with details (title, description,
The admin enters Admin can update due date).
their username and employee details o Edit Task: Admin can modify existing
password to access (change profile tasks (change status, update description).
the admin photo, adjust
dashboard. points). o Delete Task: Admin can delete tasks no
longer needed for an employee.
ALTERNATIVE FLOWS
1.Invalid Login (Empl oyee or Admin):
o If the entered credential s or verification code are
incorrect, the s ys tem denies acces s and prompts the actor
to retry.

2.Incompl ete Tas k Detail s (Admin):

o If required fields for a tas k (title or due date) are mis s ing,
the s ys tem prompts the admin to complete the
informatio n.
SPECIAL REQUIREMENTS

01 SECURITY : EM P LO Y EE LO G I N S R EQ U I R E EM AI L VER I FI CAT I O N CO DES,


WH I LE ADM I N S LO G I N VI A U SER N AM E AN D PASSWO R D TO P R EVEN T
U N AU T HOR I ZED ACCESS.

02 RESPONSIVE INTERFACE : BO T H DASH BO AR DS SH O U LD BE ACCESSI BLE


O N VAR I O U S DEVI CES, I N CLU DIN G DESKTO P S, TABLET S, AN D
SM ART P H O N ES.

03 DATA INTEGRITY : AN Y CH AN G ES M ADE TO TASKS O R EM P LO Y EE


P R O FI LES SH O U LD BE I M M EDI AT ELY U P DAT ED I N T H E DATABASE TO
M AI N TAI N ACCU R AT E R ECO R DS.
Use Case Relationships

Includes • Admin Dashboard: The Da shb o a rd inc lud e s t he Ad min Da shb o a rd t o


e na b le a d minist ra t ive func t io na lit ie s.
• Personalized User Dashboard: The Da shb o a rd inc lud e s t he Pe rso na lize d
Use r Da shb o a rd t o p ro vid e t a ilo re d use r func t io na lit ie s.

Admin Dashboard Verify Username and Password: The admin


Includes functionality requires verification of credentials as
a prerequisite.

Personalized Verify Email: The user functionality includes email


User Dashboard verification to ensure secure login

Includes
Workforce Management
Use case
Prepared by: Hussein Ali
Use Case: Centralized User and
Task Management

Actor Pre-conditions Post-conditions


Admin: Manages user profiles 1. Admin is authenticated 1. User profiles and tasks are
and tasks. via the Admin Dashboard. successfully created, updated,
2. System services or deleted.
(database, email server) 2. Users are notified of changes to
are operational. their profiles or tasks.
Basic Flow
Admin Login Manage User Profiles
Admin updates user information
Admin enters valid credentials to
1 access the Admin Dashboard. 4 (Name, email, profile photo).
System validates and stores the
information securely.
Access Centralized Monitor Task Progress
Management
2 Admin navigates to the "User and 5
Admin oversees task assignment and
tracks task completion.
Task Management" section. System provides real-time updates on
task status.
Create ,Edit, Update, or
Notification
Delete Tasks
3 Admin manages tasks by adding,
6 System sends email notifications to
users about task or profile updates.
modifying, or removing them.
Alternative Flows: Special Requirements:
A1: Database Connection Failure:
1. The Admin Dashboard must provide a
• If the system cannot connect to the
user-friendly interface for managing
database, the admin is notified of the
users and tasks.
issue.
2. Validation mechanisms must ensure all
• The system retries the operation after
entered data is complete and correct.
re-establishing the connection.
3. The system must support real-time
A2: Invalid User Input:
updates to reflect changes immediately.
• If the admin enters incomplete or
4. Email notifications must include task
incorrect data (e.g., invalid email), the
details and profile changes in an easily
system displays an error message and
understandable format.
requests correction.
A3: Email Notification Failure:
• If the email notification fails to send,
the system logs the issue and retries
automatically.
Use Case Relationships:

Includes Extends
1. Creating, Editing, Updating, or Deleting 1. Overseeing the Assignment and
Tasks: Essential for task lifecycle Completion of Tasks: Provides
management. additional supervision and
2. Managing User Profiles: Ensures user tracking of task progress and
data is current and accurate. completion.
3. Verify Email: Validates user email
addresses during profile management.
Thank You!
WORKFORCE
MANAGMENT:
DATABASE
MANAGEMENT
USE CASE
ACTORS
ADMIN: MONITORS AND MANAGES THE DATABASE, TASKS, BACKUPS, AND QUERIES.

USER (EMPLOYEE): INDIRECTLY INTERACTS WITH THE DATABASE THROUGH TASKS AND PROFILE MANAGEMENT.

PRE-CONDITIONS & POST-CONDITIONS


PRE-CONDITIONS:

THE SYSTEM IS CONNECTED TO A CENTRALIZED DATABASE.

THE DATABASE STRUCTURE IS WELL-DEFINED.

PROPER ROLE-BASED ACCESS IS GRANTED (E.G., ADMIN, USER).

POST-CONDITIONS:

SECURE AND ACCURATE STORAGE OF USER INFO, TASKS, AND PROGRESS.

REGULAR BACKUPS TO PREVENT DATA LOSS.

EFFICIENT QUERY PROCESSING.


BASIC FLOW
1. Data Entry:
User and admin interact with the system, adding or updating data (tasks, points, profiles).
What if this didn't happen?—Data entry failure triggers a retry and notifies the admin.
2. Data Retrieval:
Users and admins retrieve data for dashboards, reports, and performance checks.
What if this didn't happen?—Query errors are logged, and users are notified.
3. Data Integrity Check:
Validation of data (e.g., correct format, constraints) before storing.
What if this didn't happen?—The system rejects invalid data and prompts for correction.
4. Database Backup:
Scheduled backups ensure data protection.
What if this didn't happen?—The system retries backups and notifies admins of failures.
5. Data Query for Reporting:
Admins can run reports on user performance and system activities.
What if this didn't happen?—Error messages prompt admins to review or reschedule.
ALTERNATIVE FLOWS
DATA RECOVERY: STEPS TAKEN TO RESTORE DATA AFTER A SYSTEM FAILURE USING BACKUPS.

DATABASE OVERLOAD: HANDLING HIGH-TRAFFIC SCENARIOS BY QUEUING QUERIES TO PREVENT SYSTEM OVERLOAD.

SPECIAL REQUIREMENTS
HIGH AVAILABILITY: ENSURING THE DATABASE IS AVAILABLE 24/7 WITH MINIMAL DOWNTIME.

BACKUP FREQUENCY: THE SYSTEM NEEDS TO RUN REGULAR BACKUPS.

DATA INTEGRITY: VALIDATION AND CONSTRAINTS TO KEEP THE DATA CONSISTENT AND ACCURATE.

USE CASE RELATIONSHIPS


INCLUDE:

CENTRALIZED AND STRUCTURED DATABASE: ENSURES A UNIFIED AND WELL-ORGANIZED STORAGE SYSTEM FOR ALL USER

INFORMATION, TASKS, POINTS, AND PROGRESS DATA.

ENSURE DATA INTEGRITY: VALIDATES INPUTS AND ENFORCES CONSTRAINTS TO MAINTAIN ACCURATE AND RELIABLE DATA.

EFFICIENT QUERIES: OPTIMIZES DATA RETRIEVAL FOR SMOOTH AND FAST OPERATIONS.

EXTEND:

BACKUP OPTIONS TO PREVENT DATA LOSS: ENHANCES THE SYSTEM BY CREATING REGULAR BACKUPS TO PROTECT AGAINST

ACCIDENTAL DATA LOSS OR CORRUPTION.

SMOOTH OPERATION WITH LARGE DATA VOLUMES: EXTENDS THE FUNCTIONALITY TO ENSURE EFFICIENT PERFORMANCE AND

SCALABILITY, EVEN WITH HEAVY DATA LOADS


THANK YOU
THIS PPTX WAS MADE BY
ALI ABDULMAJED
Prepared By: Abdullah Kadhim Haneef

Workforce Management – Security


Introduction Actors
Both employees and admins securely log in to the system. 1- Administrator.
2- Employee.
• User Authentication Requirements.
Pre-Conditions: • Data Encryption for stored Data.
• Automated Encryption in case of Breaches.

• Data Remains Encrypted.

Post-Conditions: :
• Role-Based Access Control.
• Retention of Points and Tasks on logout.
Flow Of Events: Basic Flow
Yes Authentication Yes
Start Does the user have Access Granted
successful?
permission?

No Access Denied No

Admin/User
Data Encryption Data Encryption
Dashboard
End
Firewall Firewall

Unexpected Breach
Flow Of Events: Alternative Flow
 If the user is attempting access with invalid credentials the system should display an error
message.

 If the user’s email is not from the company domain (e.g., @company.com), deny access
immediately.

 If MFA fails (e.g., the user fails to provide the correct second factor), show an error: "Invalid
authentication code. Please check your device or request a new code.

 If the user’s role is not authorized to access the requested dashboard (e.g., admin features),
they should see a message like: "You do not have permission to access this area. Please
contact your administrator.“

 If the firewall detects malicious traffic or an unauthorized attempt to breach the system, it
will block the access attempt.

Special Requirements:
• Intrusion Detection and Prevention Systems.
• Data integrity: Hashing
• Firewall Systems.
r c e M an agem en t
Workfo
Scalabilit y U se C as e
nted by Abdulwahab
Prese
Thamer
Actor
Admin: Oversees system scalability measures and resource management.

Pre-conditions Post-conditions

1. The system is operational and 1. The system adapts to increased


experiencing increased user activity workload without performance
or data volume. degradation.
2. Admin has access to monitoring 2. All functionalities remain
tools and system settings to accessible and efficient under high
manage scalability features. load conditions.
Flow of Events
Basic Flow

01 02 03
Monitor System Load: Identify Scalability Requirements: Allocate Additional Resources:
- Admin reviews system - Admin determines the need for - Admin configures or
load metrics such as user scalability adjustments based on activates additional resources
activity, task processing observed system load and resource (e.g., more servers, database
times, and server resource utilization. capacity).
utilization.
Flow of Events
Alternative Flows

01 02
Scalability Configuration Errors: Insufficient Resources:
- If the system encounters errors - If additional resources are unavailable,
during resource allocation, the the admin prioritizes critical tasks to
admin is alerted with error logs. reduce load temporarily.
- Admin corrects configuration - Admin requests additional
settings and retries the operation. infrastructure or service upgrades to meet
scalability needs.
Special
Requirements
Monitoring tools must provide real-time system load analytics

Resource allocation settings should support dynamic scaling without requiring


system downtime.
System scalability measures should integrate seamlessly with existing
infrastructure.

Testing tools must simulate high user traffic and data loads to validate
scalability.
Thank You
Workforce Management
Improved Efficiency use case
Prepared by : Abdul Mohsen Abdul Razzaq
Key Aspects

01 Real- Time Task Tracking and


Status Updates
Performance Metrics at a
02 Glance

03 Streamlined Task Assignment and


Management
Enhanced Collaboration and
04 Communication
01 Real- Time Task Tracking and Status Updates

One of the most significant improvements is the ability to track tasks


and their progress in real time . Employees can update the status of
their tasks directly in the system, and managers have instant access to
this information . This ensures that all parties are on the same page and
reduces the need for frequent check - ins or manual status updates .
Real- time data also helps in identifying potential bottlenecks or issues
early, allowing for proactive adjustments
02 Performance Metrics at a Glance

The system provides both employees and administrators with


clear, visual performance metrics . Employees can see their
progress in terms of task completion percentages, allowing
them to focus on areas that need improvement . For admins,
the dashboard offers insights into team - wide performance,
enabling quick identification of high performers,
underperforming employees, and overall project health. This
data- driven approach helps optimize workflows and ensures
resources are allocated efficiently .
03 Performance Metrics at a Glance
Admins can easily create, assign, and track tasks without
the need for back-and-forth communication. Tasks are
assigned based on availability and employee skill set, and
deadlines are clearly communicated. Once tasks are in the
system, employees are notified and can begin work
immediately. This eliminates manual task assignment
processes and helps maintain a smooth flow of work,
reducing the chances of miscommunication or task
overlap.
04 Enhanced Collaboration and
Communication

With a centralized system for task management,


employees and admins can communicate directly within
the platform, reducing reliance on emails or messages.
This fosters clearer communication and helps avoid
misunderstandings. Employees can ask for clarifications,
provide updates, and notify admins of issues, all within the
same interface where they manage their tasks.
summary

Before After
The workforce management With the new system, task
process was slow, manual, management is faster, more
and prone to errors and transparent, and efficient. It
inefficiencies. improves communication,
accountability.
Thanks !

You might also like