*/
protected Situation getSituation() throws ParameterException {
WorkflowFactory workflowFactory = WorkflowFactory.newInstance();
String userId = getParameters().getParameter(PARAMETER_USER_ID);
String machineIp = getParameters().getParameter(PARAMETER_IP_ADDRESS);
Situation situation = workflowFactory.buildSituation(getRoleIDs(), userId, machineIp);
return situation;
}
/**
* Invokes the workflow on a document.