if (force && !engine.canInvoke(workflowable, workflow, situation, event)) {
throw new WorkflowException("The event [" + event
+ "] cannot be invoked on the document [" + workflowable
+ "] in the situation [" + situation + "]");
}
engine.invoke(workflowable, workflow, situation, event);
}
}
/**
* @see org.apache.lenya.workflow.WorkflowManager#invoke(org.apache.lenya.workflow.Workflowable,