Modern environments are not static. Businesses need systems that can monitor their environment and adapt their underlying logic dynamically on the fly. Nor do all problems map well to linear process executions, often leading to spaghetti BPEL hell. Instead, more flexible approaches are needed that provide declarative control of your processes.
50. Interception When StockMark status == crash Then Terminate “Buy Request” Process Start “System Shutdown” Process Stock Buy Order Request Buy Order Acknowledgement Buy Order Request Process Payment Confirmation Terminate
51. Interception and Redirection When Origin != USA and Destination == USA Then Suspend “Flight Booking” Process Start “ESTA” Process OnSuccess Resume “Flight Booking” OnFailure Terminate “Flight Booking” Simple Flight Booking Process Get Destination Get Dates Get Origin Process Payment Confirmation Terminate