Skip to main content

Usecase View

Overview

The use case view is a visual representation of the interactions of actors with a system. It is a collection of use cases, actors, and their relationships. The use case view is used to describe the functional requirements of the system. It is also used to capture the requirements of a system, that is, what a system is supposed to do. The use case view is also used to capture the functional requirements of a system, that is, what a system is supposed to do.

Order Catalog

Overview

The Customer Order Management System is a critical component of our organization's operations. It enables smooth interactions among various actors, including Customers, Staff, Officers, Stokers, and Sysadmins. The primary objective of this system is to efficiently handle customer orders, ensuring a streamlined process from order creation to delivery.

Use Case Scenarios

Use Case ScenarioActorDescriptionTriggerPreconditionsPostconditions
Adding an OrderCustomerCustomers initiate the process by placing a new order into the system, triggering subsequent order-related activities.The customer's intention to purchase products/services from our organization.Customers must be authenticated and have access to the system.The system records the new order, making it ready for further processing.
Adding Customer InformationStaffStaff members add or update customer information as part of order management, ensuring accurate records.Creation of a new customer profile or the need to update existing contact and billing information.Staff members must have proper authorization to access and modify customer information.Customer information is kept up-to-date and available for order processing.
Adding Order InformationStaffStaff members update order-specific details, including product quantities, specifications, and delivery preferences.Changes or modifications requested by the customer or necessary for order fulfillment.Staff must have appropriate authorization to access and modify order information.Order details accurately reflect the customer's preferences and are ready for processing.
Following the Delivery ProcessStaff, CustomerBoth staff and customers can track the progress of an order's delivery process, ensuring transparency and timely updates.The desire to monitor order status, location, and expected delivery time.The order must be in the delivery phase, and relevant tracking information should be available.Users have real-time insights into the order's location and estimated delivery time.
Managing Customer OrdersStaffStaff members manage and oversee the entire customer order lifecycle, from order creation to successful delivery.Various actions, such as order approval, cancellation, or rescheduling, necessitate active management.Staff must have appropriate authorization and responsibilities for order management.Orders are processed efficiently, leading to customer satisfaction.
Send Invoice (Included in "Adding an Order")NotificationThe "Send invoice" use case is initiated as part of adding an order and is responsible for sending an invoice to the customer.Order creation requires sending an invoice to the customer.This use case does not specify explicit preconditions.An invoice is sent to the customer, allowing for payment processing.

Driver Catalog

Overview

The Delivery Management System plays a pivotal role in our organization's logistics and delivery operations. It involves the coordination and management of various actors, including Staff, Drivers, Shippers, Sysadmins, and the Notification system. The primary objective of this system is to ensure efficient and reliable delivery of orders to customers while addressing any exceptional circumstances that may arise during the delivery process.

Use Case Scenarios

Use Case ScenarioActorDescriptionTriggerPreconditionsPostconditions
Managing StaffStaffStaff members manage the workforce involved in delivery operations, including hiring, training, and scheduling.The need for staff management to ensure the availability of resources.Staff must have the appropriate permissions and access to staff management tools.Staff resources are effectively managed to support delivery operations.
Managing VehiclesStaffStaff members oversee the management and maintenance of delivery vehicles, ensuring they are in optimal condition.Vehicle management needs arising from routine maintenance, repairs, or additions to the fleet.Staff must have access to vehicle management tools and authorization.Delivery vehicles are maintained and available for deliveries as needed.
Making Delivery for an OrderStaffStaff members coordinate the delivery process for customer orders, assigning drivers or shippers as required.Customer orders ready for delivery.Staff must have access to order management tools and authorization.Orders are assigned for delivery, initiating the delivery process.
Handling Delivery IncidentsDriver, ShipperDrivers and shippers handle unexpected incidents during delivery, such as delays or issues with delivery locations.Incidents occurring during the delivery process.Delivery incidents have occurred.Relevant parties are notified about the incident, allowing for appropriate actions to be taken.
Send Notification (Included in "Handling Delivery Incidents")NotificationThe "Send notification" use case is initiated as part of handling delivery incidents and is responsible for sending notifications to relevant parties regarding the incident.Incident handling requires notifying relevant parties.This use case does not specify explicit preconditions.Notifications are sent to inform relevant parties about the incident, allowing for appropriate actions to be taken.

Hub Management

Overview

The Hub Management and Route Optimization system is a crucial component of our logistics and delivery operations. It focuses on the coordination and management of various actors, including Staff, Sysadmins, and Stokers. The primary objective of this system is to efficiently manage our delivery hubs and optimize delivery routes to ensure timely and cost-effective order fulfillment.

Use Case Scenarios

Use Case ScenarioActorDescriptionTriggerPreconditionsPostconditions
Managing HubStaffStaff members oversee the management of delivery hubs, ensuring that they are well-organized, adequately staffed, and equipped to handle order processing efficiently.The need for hub management to support order processing and fulfillment.Staff must have the appropriate permissions and access to hub management tools.Hubs are effectively managed, enabling smooth order processing and delivery operations.
Calculate Route Distance (Extends "Manage Hub")StaffStaff members use route optimization algorithms to calculate the distances between hubs and delivery locations, helping to minimize transportation costs and delivery times.The need to optimize delivery routes for cost-efficiency and timely deliveries.This use case extends the "Manage Hub" use case, indicating that hub management is already in progress.Optimized delivery routes are calculated, contributing to cost savings and improved delivery performance.
Create Order Phase (Extends "Manage Hub")StaffDuring the order creation phase, staff members consider hub availability and capacity to ensure that orders are assigned to hubs efficiently.The initiation of the order creation process.This use case extends the "Manage Hub" use case, indicating that hub management activities are already underway.Orders are assigned to hubs based on their availability and capacity, optimizing order distribution.

Access Control

Overview

The User Authentication, Authorization, and Access Control system is a critical component of our organization's operational infrastructure. It involves multiple actors, including Staff, Sysadmins, Stokers, Drivers, Shippers, and Officers. The primary objective of this system is to ensure secure access to our systems and applications, controlling what actions users can perform based on their roles and permissions.

Use Case Scenarios

Use Case ScenarioActorDescriptionTriggerPreconditionsPostconditions
Login to SystemStaffStaff members initiate the system by logging in, providing their credentials for authentication.Staff members' need to access system functions and data.Staff members must have valid accounts and credentials.Authenticated staff members gain access to the system, enabling them to perform authorized tasks.
Authenticate User (Included in "Login to System")System (Authentication module)The authentication module verifies staff members' provided credentials during the login process.Staff members' login attempts.Staff members must initiate the login process.Authenticated users gain access to the system if their credentials are valid.
Authorize and Access Control (Extends "Authenticate User")System (Authorization and Access Control module)The Authorization and Access Control module verifies staff members' roles and permissions to determine their access privileges within the system.Successful user authentication.Users must be successfully authenticated.Authorized users gain access to specific system functions and data based on their roles and permissions.
Policy Management (Included in "Authorize and Access Control")StaffStaff members manage access control policies and configurations to define who can access specific resources and actions within the system.The need to modify or update access control policies.Staff members must have authorization to manage access control policies.Access control policies are updated and enforced within the system.
Identity Information Management (Included in "Authorize and Access Control")StaffStaff members manage user identity information, including roles, permissions, and personal data.The need to update user profiles or roles.Staff members must have authorization to manage identity information.User identity information is updated, ensuring accurate access control.
RBAC Management (Extends "Policy Management")StaffStaff members manage Role-Based Access Control (RBAC) policies to define roles and their associated permissions.The need to define or modify roles and permissions.Staff members must have authorization to manage RBAC policies.RBAC policies are defined or updated, specifying roles and permissions.
Claim Management (Extends "Policy Management")StaffStaff members manage claims and attribute-based access control policies, defining access rules based on specific attributes.The need to define or modify attribute-based access control rules.Staff members must have authorization to manage claim-based access control policies.Claim-based access control policies are defined or updated, specifying access rules based on attributes.
Logout of SystemStaffStaff members log out of the system to terminate their active sessions securely.Staff members' decision to log out.Staff members must be logged in to initiate the logout process.Active sessions are terminated, and staff members are logged out of the system securely.