需求
“Create a flight ticket booking sequence: a user searches and selects a flight in a web app; a booking service checks and holds seats in a flight database; the user confirms and a payment gateway succeeds or fails; on success the booking is finalized and an email service sends an e-ticket, and on failure the seats are released.”
接著試試Add a seat-selection request before payment.Add a payment-declined branch.
這張圖裡有什麼
看懂背後的決策。
01
Synchronous reservation with seat hold
02
Payment handling with alternative flow
03
Confirmation email on success
Use for designing booking systems, understanding payment flow, or documenting service interactions in a travel domain.