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

1.1 KiB

Added, Status
Added Status
v2.0.0 Active

Comment Process service

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

Methods

addTaskComment(taskId: string, message: string): Observable<CommentProcessModel>
Adds a comment to a task.

getTaskComments(taskId: string): Observable<CommentProcessModel[]>
Gets all comments that have been added to a task.

addProcessInstanceComment(processInstanceId: string, message: string): Observable<CommentProcessModel>
Adds a comment to a process instance.

getProcessInstanceComments(processInstanceId: string): Observable<CommentProcessModel[]>
Gets all comments that have been added to a process instance.

Details

See the Comment Process model for more information about the comments returned by the methods of this service. Also, the Comments API section of the Alfresco JS API docs has further details about the underlying REST API.

See also