Booking a tour package at a travel agency, from the first request to payment, modeled as a BPMN 2.0 collaboration diagram.
BPMN 2.0
draw.io
Task
Model the process of booking a tour package at a travel agency in BPMN 2.0, as a collaboration diagram.
Approach
Modeled the process as a collaboration: the Client as a separate pool, and the travel agency split into two lanes, the travel agent and the agency's online back office.
Message flows show every exchange with the client: tour parameters, offered options, personal data for the contract, documents and payment.
Event-based gateways capture the client's decisions: choose an option, change the parameters, or drop out.
The back office checks availability, creates a pre-booking and emails the documents, then opens a 12-hour payment window. Timer events trigger SMS reminders to the client and the agent, and the booking is cancelled automatically if payment still hasn't arrived after a second 12 hours.
Compensation cancels the pre-booking if the client changes their mind, and an error boundary event handles failed identification.
Identification is a separate expanded sub-process: phone lookup, registration for new clients, and an SMS code with a 1-minute timeout and up to 3 retries.
Once payment arrives, a parallel gateway sends the final documents and pays the agent's commission at the same time.