Name: Task Creation and Assignment
Actors:
- Primary Actor: Manager
- Supporting Actor: Employee
Description: Allows a manager to create a task and assign it to an employee.
Preconditions:
- The manager must be logged in to the system.
- The employee to whom the task will be assigned exists in the system.
Postconditions:
- The task is successfully saved in the database.
- The assigned employee is notified of the new task.
Main Flow:
- Manager logs in.
- Manager selects "Create Task."
- Manager enters task details, including title, description, priority, and deadline.
- Manager assigns the task to an employee.
- System validates the input and saves the task.
- System notifies the assigned employee via the notification feature.
Alternate Flows:
- If task details are incomplete:
- System prompts the manager to complete all required fields.
- If the employee is unavailable:
- System prompts the manager to select a different employee.
Triggers:
- Manager clicks the "Create Task" button.
Success Criteria:
- The task is created and assigned successfully, and the assigned employee is notified.
Failure Criteria:
- The system encounters a database error and cannot save the task.
- The manager is not logged in and is redirected to the login page.
Name: Task Progress Update
Actors:
- Primary Actor: Employee
Description: Allows an employee to update the progress of an assigned task.
Preconditions:
- The employee must be logged in to the system.
- The task must be assigned to the employee.
- The task must not be marked as completed.
Postconditions:
- The task's progress is updated in the database.
- The manager is notified of the update.
Main Flow:
- Employee logs in.
- Employee views their assigned tasks.
- Employee selects a task to update progress.
- Employee enters the updated progress (e.g., 50% completed).
- System validates the input and updates the task in the database.
- System notifies the manager of the progress update.
Alternate Flows:
- If the task is already marked as completed:
- System prevents progress updates and notifies the employee.
Triggers:
- Employee selects a task to update progress.
Success Criteria:
- The task progress is updated successfully, and the manager is notified.
Failure Criteria:
- The employee is not logged in and cannot access the task.
- The task is marked as completed and cannot be updated.
Name: Task Progress Reporting
Actors:
- Primary Actor: Manager
Description: Allows a manager to generate reports on task progress and overall statistics.
Preconditions:
- The manager must be logged in to the system.
Postconditions:
- The manager receives a report with accurate task progress data.
Main Flow:
- Manager logs in.
- Manager selects "Generate Report."
- Manager specifies report parameters (e.g., date range, team, task status).
- System retrieves relevant data from the database.
- System generates and displays the report to the manager.
Alternate Flows:
- If no data is available for the specified parameters:
- System displays a message: "No data available for the selected criteria."
Triggers:
- Manager clicks the "Generate Report" button.
Success Criteria:
- The report is generated and displayed to the manager.
Failure Criteria:
- System fails to retrieve data from the database due to an error.
-
Authentication:
- Managers and employees register and log in with secure credentials.
-
Task Management:
- Managers create and assign tasks.
- Employees view, accept/reject, and update task progress.
-
Reporting:
- Managers generate progress reports and view statistics.
- Scalability: Support up to 1,000 concurrent users.
- Security: All passwords encrypted, secure data transmission via HTTPS.
- Performance: System responses within 2 seconds.