DRAW THE USE CASE DIAGRAM FOR BELOW FLOW OF
EVENTS
Name : Order Processing
Participating actors : Employee, customer, system
Entry condition : Customer is ready to make an order with an
employee
Basic flow of events :
- Customer gives relevant details which includes ; name, delivery
address and order quantity
- Employee records all details on the system
- System processes the order and generates an invoice with all
details
- Customer pays for the order
- Employee forwards the order to logistics where the order is
prepared
- The order is then forwarded to the driver who checks the
condition of the order and proceeds with delivery
- The driver delivers the order to the destination address as
mentioned by the customer
- The driver notifies the employee about the successful delivery
of the order
Alternative flow of events :
- If at step 4 of the basic flow, the customer does not have
sufficient amount of money to pay the order, the latter is
cancelled and the use case ends
- If at step 7 the customer is not present to take the order from
the driver, the driver returns back with the order and informs the
employee of the unsuccessful delivery. The use case ends.
Exit condition :
Customer has his order