mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [ADF-3323] Fixed URL path to Typescript source files * [ADF-3323] Fixed and checked broken links caused by previous bug
2.6 KiB
2.6 KiB
Added, Status, Last reviewed
Added | Status | Last reviewed |
---|---|---|
v2.0.0 | Active | 2018-04-05 |
Comment Process service
Adds and retrieves comments for task and process instances in Process Services.
Class members
Methods
- addProcessInstanceComment(processInstanceId:
string
, message:string
):Observable
<
CommentModel
>
Adds a comment to a process instance.- processInstanceId:
string
- ID of the target process instance - message:
string
- Text for the comment - Returns
Observable
<
CommentModel
>
- Details of the comment added
- processInstanceId:
- addTaskComment(taskId:
string
, message:string
):Observable
<
CommentModel
>
Adds a comment to a task.- taskId:
string
- ID of the target task - message:
string
- Text for the comment - Returns
Observable
<
CommentModel
>
- Details about the comment
- taskId:
- getProcessInstanceComments(processInstanceId:
string
):Observable
<
CommentModel
[]>
Gets all comments that have been added to a process instance.- processInstanceId:
string
- ID of the target process instance - Returns
Observable
<
CommentModel
[]>
- Details for each comment
- processInstanceId:
- getTaskComments(taskId:
string
):Observable
<
CommentModel
[]>
Gets all comments that have been added to a task.- taskId:
string
- ID of the target task - Returns
Observable
<
CommentModel
[]>
- Details for each comment
- taskId:
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.