String userId = getParameters().getParameter(PARAMETER_USER_ID);
String machineIp = getParameters().getParameter(PARAMETER_IP_ADDRESS);
SynchronizedWorkflowInstances instance;
try {
instance = factory.buildSynchronizedInstance(document);
} catch (WorkflowException e) {
throw new ExecutionException(e);
}
Situation situation = factory.buildSituation(getRoleIDs(), userId, machineIp);