code: @Transactional
  	public ProcessInstance refreshProcessInstance(
  			ProcessInstance processInstance) {
  		log.debug("refreshProcessInstance");
  		ProcessInstance ret =  m_entityManager.find(ProcessInstance.class, processInstance.getId());
  		m_entityManager.refresh(ret);
  		log.debug("\n{}",displayProcess(ret, 0));
  		return ret;
  	}
docs: /* (non-Javadoc)
  @see nz.co.senanque.workflow.WorkflowDAO#refreshProcessInstance(nz.co.senanque.workflow.instances.ProcessInstance)