【问题标题】:how to get form filled data in Jbpm 5.4如何在 Jbpm 5.4 中获取表单填充数据
【发布时间】:2014-10-10 07:54:13
【问题描述】:

我正在使用 Jbpm 5.4 创建一个应用程序。每个用户任务都有一个任务表单,我通过 Rest api 完成了它们。一切正常,数据将进入表格。但我想知道 jbpm api 如何获取用户在以前状态下填写的数据?吃了那些与内容表相关的数据?谁能解释我如何自己获取这些填充数据? 我试过了。

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();
}

【问题讨论】:

    标签: jbpm


    【解决方案1】:

    【讨论】:

    • 谢谢克里斯,我看了你的回答,它真的帮助我理解了它是如何工作的。据我了解,任务表单内容保存为内容表中的字节数组。我不能用那个数组直接取表单数据吗?
    猜你喜欢
    • 1970-01-01
    • 2013-01-22
    • 2011-10-21
    • 1970-01-01
    • 2022-12-13
    • 2020-09-14
    • 2019-01-29
    • 2021-10-06
    • 2017-09-13
    相关资源
    最近更新 更多