public String getCurrentState() {
return ((Step) this.template.getCurrentSteps().get(0)).getStatus();
}
public List getUnderwayWorkflows() {
Expression queryRight = new FieldExpression(FieldExpression.STATE,
FieldExpression.ENTRY,
FieldExpression.EQUALS,
new Integer(WorkflowEntry.ACTIVATED));
Expression queryLeft = new FieldExpression(FieldExpression.NAME,
FieldExpression.ENTRY,
FieldExpression.EQUALS,
this.template.getWorkflowName());
WorkflowExpressionQuery query = new WorkflowExpressionQuery(