Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 1.31 KB

comment-process.service.md

File metadata and controls

26 lines (22 loc) · 1.31 KB
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