logger.debug("IN");
try {
// recovers required execution details
String executionFlowId = (String) request.getAttribute("EXECUTION_FLOW_ID");
String executionId = (String) request.getAttribute("EXECUTION_ID");
ExecutionManager executionManager = (ExecutionManager) contextManager.get(ExecutionManager.class.getName());
if (executionManager == null) {
throw new Exception("Execution Manager not found. Cannot recover execution details.");
}
ExecutionInstance instance = executionManager.recoverExecution(executionFlowId, executionId);
// set execution instance in session
setExecutionInstance(instance);
// sets the flag in order to skip snapshots/viewpoints/parameters/subobjects page
request.setAttribute(SpagoBIConstants.IGNORE_SUBOBJECTS_VIEWPOINTS_SNAPSHOTS, "true");
// starts new execution