UML Activity Diagram Lab
UML / ACTIVITY / 01
Follow an order through fulfillment
Select an element to read the stock decision, parallel work after payment and the two final nodes.
List of nodes and edges
List of nodes and edges
0 / 0
List of nodes and edges
Verify by stepping
List of nodes and edges
Use case diagram ↗
What is the customer trying to do? Submitting and paying are separate goals. An out-of-stock submission does not create an order.
Sequence diagram ↗
How do the order and inventory services exchange messages? The checkout interaction creates an order awaiting payment on success.
State machine diagram ↗
What state is this order in? Payment moves an existing order from awaiting payment to paid. The activity diagram adds branches and parallel fulfillment work.
SCENARIO 01
How does a loan request choose an outcome?
Check borrower eligibility, then lend the book if eligible or reject the request otherwise. Each request follows one path.