alfresco-ng2-components/docs/core/services/comment-process.service.md

1.3 KiB

Title, Added, Status, Last reviewed
Title Added Status Last reviewed
Comment Process service v2.0.0 Active 2018-11-14

Comment Process Service

Adds and retrieves comments for task and process instances in Process Services.

API

  • add(id: string, message: string): Observable<CommentModel>
    Adds a comment to a process instance.
    • id: string -
    • message: string - Text for the comment
    • Returns Observable<CommentModel> - Details of the comment added
  • get(id: string): Observable<CommentModel[]>
    Gets all comments that have been added to a process instance.
  • getUserImage(userId: string): string
    Gets the URL for the user image.
    • userId: string -
    • Returns string - URL for the user image