Car wash CarWash Automaticwashingsystem Automatic washing system Start washing the car Clean the car from insects Clean the wheels with a special brush Flush the foam from the car Does program contain special insect cleaning? Wash the car with a foam Cleaning finished Personatcashdesk Person at cashdesk Car wash program received Validate cash payment Order disapproved Is order payed? Generate the code with a program Code with the program Customer Customer Customer arrived at a car wash Order specific washing program Wait for the information Leave car wash happy Is car clean? Leave car wash sad Customer left a car wash 433737, Ľubomír Gocník, seminar group PV207/02ENGLISH The customer arrives at a car wash, he/she orders the specific program and pays for it. The Person at the cashdesk than validates payment and if everything is ok he/she generates unique code with a program. The code is entered into the automatic washing system which starts washing the car according to the program. When the cleaning is finished a message is displayed to the customer an he/she can leave the car wash satisfied. If the customer doesn't have enough money in the first place, a person at the cashdesk tells the customer that the order is not payed and the customer has to leave with dirty car. No Yes No Yes "Car is clean" informationorder of a car wash program No Yes "Order not payed" information Maybe rename task to: Remove the car from car wash (waiting is implicit when waiting on a message) It would be better to merge these two tasks and gateways into single task: Leave feedback Result: 8