protected static Condition createCondition(String className, String expression)
throws WorkflowException {
assert className != null;
assert expression != null;
Condition condition;
try {
Class clazz = Class.forName(className);
condition = (Condition) clazz.newInstance();
condition.setExpression(expression);
} catch (ClassNotFoundException e) {
throw new WorkflowException(e);
} catch (InstantiationException e) {
throw new WorkflowException(e);
} catch (IllegalAccessException e) {