Skip to content

getCommentsByType

Flowable 7.1.0 摘要:给定类型的所有评论。

方法签名与说明

List < Comment > getCommentsByType ( String type)

给定类型的所有评论。

常见使用场景

  • 记录审批意见、沟通记录,辅助审计。
  • 在工单详情页展示历史批注。
  • 官方摘要:给定类型的所有评论。

Kotlin 调用示例

kotlin
val type = "TYPE"

taskService.getCommentsByType(type)

注意事项

  • 批注通常用于审计,建议保留原始文本。
  • 删除批注前确认业务是否允许。
  • 调用前请确认当前用户具备相应的任务/流程操作权限。
  • 本文基于 Flowable 7.1.0 Javadoc。

相关 API

  • getCommentsByType
  • addComment
  • getTaskComments
  • deleteComment