int pageNum = Integer.parseInt(indexPart);
String dossierIdStr = (String)request.getAttribute(DossierConstants.DOSSIER_ID);
Integer dossierId = new Integer(dossierIdStr);
String noteSent = (String)request.getAttribute("notes");
String activityKey = (String)request.getAttribute(SpagoBIConstants.ACTIVITYKEY);
JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
jbpmContext = jbpmConfiguration.createJbpmContext();
TaskInstance taskInstance = jbpmContext.getTaskInstance(new Long(activityKey).longValue());
ContextInstance contextInstance = taskInstance.getContextInstance();
ProcessInstance processInstance = contextInstance.getProcessInstance();
Long workflowProcessId = new Long(processInstance.getId());
SessionContainer session = this.getRequestContainer().getSessionContainer();