====== Travel Booking ====== Travel Booking diagram example from [[http://www.omg.org/spec/BPMN/20100601/10-06-02.pdf|BPMN 2.0 by Example]], page 27. {{indexmenu>:bpwiki:process_travel_booking|js#simplebpmn navbar notoc}} ++++ Travel Booking code | { "events": { "start": { "se_6_53": { "type": "message", "name": "Receive Customer Flight and Hotel Room Reservation Request" } }, "intermediate": { "ie_6_439": { "type": "timer", "name": "24 hours" }, "ie_6_456": { "type": "message", "name": "Cancel Request" }, "ie_6_473": { "type": "message", "name": "Customer make Selection" }, "ie_6_660": { "type": "timer", "name": "24 Hours" }, "ie_6_1461": { "type": "error", "name": "Booking Error 2" }, "ie_6_1549": { "type": "error" }, "ie_6_1566": { "throwing": true, "type": "compensation", "name": "Booking" } }, "end": { "ee_6_677": { "type": "message", "name": "Request Cancelled" }, "ee_6_1533": "Booking Successfully Completed", "ee_6_1677": "Booking Not Completed", "ee_6_1742": "" } }, "activities": { [[bpmn>bpwiki:process_travel_booking:process_search]], "task_6_309": "Package Flights and Hotel Rooms for Customer Review", "task_6_360": { "type": "send", "name": "Present Flights and Hotel Rooms Alternatives to Customer" }, "task_6_490": "Update Customer Record (Request Cancelled)", "task_6_541": { "type": "send", "name": "Notify Customer to Start Again" }, "task_6_609": { "type": "send", "name": "Request Credit Card Information from Customer", "boundary": [ "ie_6_660" ] }, [[bpmn>bpwiki:process_travel_booking:process_booking]], "task_6_1480": { "name": "Charge Credit Card", "boundary": [ "ie_6_1549" ] }, "task_6_1626": { "type": "send", "name": "Notify Customer Invalid Credit Card" }, "task_6_1620": { "type": "send", "name": "Notify Customer Failed Booking" } }, "gateways": { "gw_6_415": { "type": "event" }, "gw_6_709": "", "gw_6_1585": "Retry Limit Exceeded?", "gw_6_594": "Retry Limit Exceeded?" }, "flow": { "f6_201": [ "se_6_53", "process_search" ], "f6_411": [ "process_search", "task_6_309" ], "f6_413": [ "task_6_309", "task_6_360" ], "f6_437": [ "task_6_360", "gw_6_415" ], "f6_592": [ "task_6_541", "task_6_490" ], "f6_691": [ "ie_6_456", "task_6_490" ], "f6_693": [ "gw_6_415", "ie_6_456" ], "f6_697": [ "gw_6_415", "ie_6_439" ], "f6_701": [ "gw_6_415", "ie_6_473" ], "f6_695": [ "task_6_490", "ee_6_677" ], "f6_699": [ "ie_6_439", "task_6_541" ], "f6_703": [ "ie_6_473", "task_6_609" ], "f6_705": [ "ie_6_660", "task_6_541" ], "f6_731": [ "task_6_609", "gw_6_709" ], "f6_1025": [ "gw_6_709", "process_booking" ], "f6_1531": [ "process_booking", "task_6_1480" ], "f6_1547": [ "task_6_1480", "ee_6_1533" ], "f6_1583": [ "ie_6_1549", "ie_6_1566" ], "f6_1607": [ "ie_6_1566", "gw_6_1585" ], "f6_1609": [ "gw_6_1585", "task_6_609", "No" ], "f6_1616": [ "ie_6_1461", "gw_6_594" ], "f6_1618": [ "gw_6_594", "gw_6_709", "No" ], "f6_1691": [ "gw_6_1585", "task_6_1626", "Yes" ], "f6_1693": [ "task_6_1626", "ee_6_1677" ], "f6_1740": [ "gw_6_594", "task_6_1620", "Yes" ], "f6_1756": [ "task_6_1620", "ee_6_1742" ] } }++++