mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* ACS-8806 refactor process comments, datatable access in task list and process list * ACS-8806 docs mistake * ACS-8806 revert datatable access changes in task and process lists
29 lines
833 B
Markdown
29 lines
833 B
Markdown
---
|
|
Title: Process Instance Comments component
|
|
Added: v2.0.0
|
|
Status: Active
|
|
---
|
|
|
|
# [Process Instance Comments component](../../../lib/process-services/src/lib/process-comments/process-comments.component.ts "Defined in process-comments.component.ts")
|
|
|
|
Displays comments associated with a particular process instance and allows the user to add new comments.
|
|
|
|
## Basic Usage
|
|
|
|
```html
|
|
<adf-process-instance-comments
|
|
[processInstanceId]="YOUR_PROCESS_INSTANCE_ID"
|
|
[readOnly]="YOUR_READ_ONLY_FLAG"
|
|
>
|
|
</adf-process-instance-comments>
|
|
```
|
|
|
|
## Class members
|
|
|
|
### Properties
|
|
|
|
| Name | Type | Default value | Description |
|
|
| ---- | ---- | ------------- | ----------- |
|
|
| processInstanceId | `string` | | The numeric ID of the process instance to display comments for. |
|
|
| readOnly | `boolean` | | Should the comments be read-only? |
|