我正在使用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();
}
答案 0 :(得分:0)