Collection of criteria used to filter process instances, which may be customized by users.
<adf-process-instance-filters
appId="1001">
</adf-process-instance-filters>
Name | Type | Default value | Description |
---|---|---|---|
appId | number | Display filters available to the current user for the application with the specified ID. | |
appName | string | Display filters available to the current user for the application with the specified name. | |
filterParam | FilterProcessRepresentationModel | The parameters to filter the task filter. If there is no match then the default one (ie, the first filter in the list) is selected. | |
showIcon | boolean | true | Toggle to show or hide the filter's icon. |
Name | Type | Description |
---|---|---|
error | EventEmitter <any> | Emitted when an error occurs. |
filterClicked | EventEmitter < UserProcessInstanceFilterRepresentation > | Emitted when a filter is being clicked from the UI. |
filterSelected | EventEmitter < UserProcessInstanceFilterRepresentation > | Emitted when a filter is being selected based on the filterParam input. |
success | EventEmitter < ProcessInstanceFilterRepresentation []> | Emitted when the list of filters has been successfully loaded from the server. |
This component displays a list of available filters and allows the user to select any given filter as the active filter.
The most common usage is in driving a process instance list to allow the user to choose which process instances are displayed in the list.
If both appId
and appName
are specified then appName
will take precedence and appId
will be ignored.
<adf-process-instance-filters
[filterParam]="{index: 0}">
</adf-process-instance-filters>
You can use inside the filterParam one of the properties defined by FilterParamsModel
(see below).
{
"id": "number",
"name": "string",
"index": "number"
}
Name | Type | Description |
---|---|---|
id | string | The id of the task filter. |
name | string | The name of the task filter, lowercase is checked. |
index | number | Zero-based position of the filter in the array. |
© 2023 Alfresco Software, Inc. All Rights Reserved.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.