Function 3
Cancel Order
Lazy deletion — order tidak dihapus dari queue, hanya status diubah ke inactive
Cancel Order
Active Orders
No active orders
Sequence Flow — alt [found / not found]
cancelOrder(order_id)
lookup(order_id) in Hash Map
[found] set active = false
persist update → return success
[not found] return fail
Lazy Deletion
Order tidak dihapus dari Shipping Queue. Saat ship, order dengan active=false akan di-skip secara otomatis.