# Uses of Interface
org.flowable.engine.task.Comment

Packages that use Comment
Package
Description
org.flowable.engine
Public API of the Flowable engine.
Typical usage of the API starts by the creation of a `ProcessEngineConfiguration` (typically based on a configuration file), from which a `ProcessEngine` can be obtained.
Through the services obtained from such a `ProcessEngine`, BPM and workflow operation can be executed:
`RepositoryService`: Manages `Deployment`s.
`RuntimeService`: For starting and searching `ProcessInstance`s.
`TaskService`: Exposes operations to manage human (standalone) tasks, such as claiming, completing and assigning tasks.
`IdentityService`: Used for managing users, groups and the relations between them.
`ManagementService`: Exposes engine administration and maintenance operations, which have no relation to the runtime exection of business processes.
`HistoryService`: Exposes information about ongoing and past process instances.
`FormService`: Access to form data and rendered forms for starting new process instances and completing tasks.
org.flowable.engine.compatibility

- ## Uses of Comment in org.flowable.engine

  Methods in org.flowable.engine that return Comment
  Modifier and Type
  Method
  Description
  `Comment`
  TaskService.`addComment(String taskId, String processInstanceId, String message)`
  Add a comment to a task and/or process instance.
  `Comment`
  TaskService.`addComment(String taskId, String processInstanceId, String type, String message)`
  Add a comment to a task and/or process instance with a custom type.
  `Comment`
  TaskService.`getComment(String commentId)`
  Returns an individual comment with the given id.
  Methods in org.flowable.engine that return types with arguments of type Comment
  Modifier and Type
  Method
  Description
  `List<Comment>`
  TaskService.`getCommentsByType(String type)`
  All comments of a given type.
  `List<Comment>`
  TaskService.`getProcessInstanceComments(String processInstanceId)`
  The comments related to the given process instance.
  `List<Comment>`
  TaskService.`getProcessInstanceComments(String processInstanceId, String type)`
  The comments related to the given process instance.
  `List<Comment>`
  TaskService.`getTaskComments(String taskId)`
  The comments related to the given task.
  `List<Comment>`
  TaskService.`getTaskComments(String taskId, String type)`
  The comments related to the given task of the given type.
  Methods in org.flowable.engine with parameters of type Comment
  Modifier and Type
  Method
  Description
  `void`
  TaskService.`saveComment(Comment comment)`
  Update a comment to a task and/or process instance.

- ## Uses of Comment in org.flowable.engine.compatibility

  Methods in org.flowable.engine.compatibility that return Comment
  Modifier and Type
  Method
  Description
  `Comment`
  Flowable5CompatibilityHandler.`addComment(String taskId, String processInstanceId, String type, String message)`