A solicitação
“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.”
Depois, tenteAdd a seat-selection request before payment.Add a payment-declined branch.
O que há neste desenho
Entenda as decisões por trás dele.
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.