public ProcessData result ()
throws ResultNotAvailableException {
ProcessDataInfo resSig = processDefinition().resultSignature();
ProcessData procCtx = getPaProcessData();
ProcessData resData = new DefaultProcessData();
for (Iterator i = resSig.keySet().iterator(); i.hasNext();) {
String key = (String)i.next();
resData.put(key, procCtx.get(key));
}
return resData;
}