public void execute(NodeInstance from, String type) {
String transitionName = null;
try {
Delegation decisionDelegation = getDecision().getDecisionDelegation();
if (decisionDelegation != null) {
DecisionHandler decisionHandler = (DecisionHandler) decisionDelegation.instantiate();
transitionName = decisionHandler.decide(new JpdlExecutionContext());
} else if (getDecision().getDecisionExpression() != null) {
String decisionExpression = getDecision().getDecisionExpression();
Object result = JbpmExpressionEvaluator.evaluate(
decisionExpression, new JpdlExecutionContext());
if (result == null) {