Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 1.35 KB

task-comments.service.md

File metadata and controls

26 lines (22 loc) · 1.35 KB
Title Added Status Last reviewed
Task Comments service
v6.0.0
Active
2022-12-19

Task Comments 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 task.
    • id: string - ID of the target task
    • message: string - Text for the comment
    • Returns Observable<CommentModel> - Details about the comment
  • get(id: string): Observable<CommentModel[]>
    Gets all comments that have been added to a task.
  • getUserImage(userId: string): string
    Gets the URL for the user's profile image.
    • userId: string - ID of the user
    • Returns string - URL for the user's profile image