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

Class members

Methods

  • 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(user: any): string

    • user: any -
    • Returns string -

Details

See the Comments API section of the Alfresco JS API docs for further details about the underlying REST API.

© 2023 Alfresco Software, Inc. All Rights Reserved.