DispatchContext dctx = this.getDispatcher().getDispatchContext();
// evaluate the condition
Boolean evaluation = null;
try {
evaluation = cond.evaluateCondition(context, attrs, expression, dctx);
} catch (EvaluationException e) {
throw new WfException("Problems evaluating condition", e);
}
return evaluation.booleanValue();