code: @Transactional
  	public Object getField(ProcessInstance processInstance, FieldDescriptor fd) {
  		Object o = getContextDAO().getContext(processInstance.getObjectInstance());
  		String prefix="get";
  		if (fd.getType().endsWith("Boolean")) {
  			prefix="is";
  		}
  		String name=prefix+StringUtils.capitalize(fd.getName());
  		try {
  			Method getter = o.getClass().getMethod(name);
  			return getter.invoke(o);
  		} catch (Exception e) {
  			throw new WorkflowException("Problem finding field: "+fd.getName());
  		}
  	}
docs: /* (non-Javadoc)
  @see nz.co.senanque.workflow.WorkflowManager#getField(nz.co.senanque.workflow.instances.ProcessInstance, nz.co.senanque.schemaparser.FieldDescriptor)