如何在Jbpm 5.4中获取表单填充数据

时间:2014-10-10 07:54:13

标签: jbpm

我正在使用Jbpm 5.4创建一个应用程序。每个用户任务都有一个任务表单,我通过Rest api与他们竞争。一切正常,数据将进入表格。但我想知道jbpm api如何获取用户在之前的状态中填充的数据?吃了那些与Content表相关的数据?任何人都可以解释我如何获得这些填充数据吗? 我试过跟随。

try {
BlockingGetContentResponseHandlerresponseHandler=new BlockingGetContentResponseHandler();

client.getContent(contentId, responseHandler);

Content content = responseHandler.getContent();

byte[] byteContent = content.getContent();

ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(byteContent);

ObjectInputStream inputStream = new ObjectInputStream(byteArrayInputStream);

obj = inputStream.readObject();

} catch (Throwable t) {
t.printStackTrace();
}