transition.setCondition(expressionCondition);
} else {
Element conditionHandlerElement = XmlUtil.element(conditionElement, "handler");
if (handlerElement!=null) {
UserCodeCondition userCodeCondition = new UserCodeCondition();
UserCodeReference conditionReference = parser.parseUserCodeReference(conditionHandlerElement, parse);
userCodeCondition.setConditionReference(conditionReference);
transition.setCondition(userCodeCondition);
}
}
}