This blog was originally published in 2012 and updated in April 2021 by Nele Uhlemann In a famous article, Gregor Hohpe describes four strategies for dealing with failures in a business transaction: How does BPMN 2.0 and Camunda Platform deal with such problems and exceptions? Here are some experiments I made. Compensation In BPMN 2.0 we can model compensation explicitly: If I detect that I have no milk after making coffee, I throw the coffee away. It is important not to serve coffee without milk, even at the expense of having an unsatisfied customer. By the way, using compensations is a powerful way to roll back Sagas. More about Sagas in the following paragraph. The Saga Pattern instead of a…
By Daniel Meyer, Nele Uhlemann