Pizza Collaboration

Two-party collaboration between a pizza customer and a pizza vendor, with timeout-based follow-up and message-triggered branching.


Process Description

The customer selects a pizza and places an order. After ordering, the customer waits for either a delivery confirmation message or a 60-minute timer to expire. If the timer fires, the customer asks for the pizza, and then waits again. When the pizza arrives, the customer pays and eats. On the vendor side, the order is received and the clerk checks the kitchen status. The Pizzaiolo bakes the pizza, and the delivery boy delivers it and collects payment.

Structure

Zoom and pan enabled · Source: OMG BPMN 2.0 by Example, Version 1.0 (2010), Section 5.2

Elements

ActivityActor
Select PizzaCustomer
Order PizzaCustomer
Ask for PizzaCustomer
Pay for PizzaCustomer
Eat PizzaCustomer
Receive OrderClerk
Bake PizzaPizzaiolo
Deliver PizzaDelivery Boy
Collect PaymentDelivery Boy