mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-04-23 22:30:37 +00:00
1.7 KiB
1.7 KiB
Activiti Process Instance List
This component renders a list containing all the process instances matched by the parameters specified.
Basic Usage
app.component.html
<adf-process-instance-list
[appId]="'1'"
[state]="'open'">
</adf-process-instance-list>
Properties
| Name | Description |
|---|---|
| appId | The id of the app. |
| processDefinitionKey | The processDefinitionKey of the process. |
| state | Define state of the processes. Possible values are running, completed and all |
| sort | Define sort of the processes. Possible values are created-desc, created-asc, ended-desc, ended-asc |
| schemaColumn | List of columns to display in the process instances datatable (see the Details section below) |
Events
| Name | Description |
|---|---|
| rowClick | Emitted when a row in the process list is clicked |
| success | Emitted when the list of process instances has been loaded successfully from the server |
| error | Emitted when an error is encountered loading the list of process instances from the server |
Details
Example value for the schemaColumn property (see Properties section above):
[
{type: 'text', key: 'id', title: 'Id', sortable: true},
{type: 'text', key: 'name', title: 'Name', cssClass: 'full-width name-column', sortable: true},
{type: 'text', key: 'started', title: 'Started', sortable: true},
{type: 'text', key: 'startedBy.email', title: 'Started By', sortable: true}
]