0
点赞
收藏
分享

微信扫一扫

Flowable入门系列文章147 - 获取关于历史流程实例的所有评论

表1.获取关于流程实例的所有评论 - URL参数

参数需要描述
processInstanceId要获取注释的流程实例的ID。

成功回应机构:

[
{
"id" : "123",
"processInstanceUrl" : "http://localhost:8081/flowable-rest/service/history/historic-processinstances/100/comments/123",
"message" : "This is a comment on the task.",
"author" : "kermit",
"time" : "2014-07-13T13:13:52.232+08:00",
"processInstanceId" : "100"
},
{
"id" : "456",
"processInstanceUrl" : "http://localhost:8081/flowable-rest/service/history/historic-processinstances/100/comments/456",
"message" : "This is another comment.",
"author" : "gonzo",
"time" : "2014-07-14T15:16:52.232+08:00",
"processInstanceId" : "100"
}
]

表2.获取流程实例的所有注释 - 响应代码

响应码描述
200指示已找到流程实例并返回注释。
404表示找不到请求的任务。
举报

相关推荐

0 条评论