GET历史记录/历史流程实例/ {processInstanceId} /注释
表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 | 表示找不到请求的任务。 |
上面文章来自盘古BPM研究院:http://vue.pangubpm.com/
文章翻译提交:https://github.com/qiudaoke/flowable-userguide
了解更多文章可以关注微信公众号: