if(handlerResult.getCompensatingOperation() != null) {
finalResult.get(COMPENSATING_OPERATION).set(handlerResult.getCompensatingOperation());
}
return finalResult;
case 2: finalResult.get(OUTCOME).set(CANCELLED);
throw new CancellationException();
case 3: finalResult.get(OUTCOME).set(FAILED);
if (!finalResult.hasDefined(RESULT)) {
// Remove the undefined node
finalResult.remove(RESULT);
}