usedDecisionHandler = (DecisionHandler) object;
} else {
throw new JbpmException("no decision handler specified");
}
transitionName = usedDecisionHandler.decide(execution);
Transition transition = activity.getOutgoingTransition(transitionName);
if (transition==null) {
throw new JbpmException("handler in decision '"+activity.getName()+"' returned unexisting outgoing transition name: "+transitionName);
}