[AAE-3469] New Service Task List in Task List Cloud Component (#6131)

* [AAE-3469] New Service Task Lisst Component

* Fix unit tests

* Add documentation

* Add public methods to Data Table Schema
This commit is contained in:
davidcanonieto
2020-09-22 21:41:53 +02:00
committed by GitHub
parent 7bead426ce
commit 472e112b71
24 changed files with 869 additions and 137 deletions

View File

@@ -76,6 +76,8 @@ when the task list is empty:
| standalone | `boolean` | false | Filter the tasks. Display only the tasks that belong to a process in case is false or tasks that doesn't belong to a process in case of true. |
| status | `string` | "" | Filter the tasks. Display only tasks with status equal to the supplied value. |
| stickyHeader | `boolean` | false | Toggles the sticky header mode. |
| TaskType | `string` | userTask | The type of tasks to be listed. `userTask | serviceTask` |
| queryFilter | `Object` | {} | An object containing a key/value for each of the properties that a service task will be filtered by. |
### Events
@@ -334,6 +336,31 @@ When an action is selected in the dropdown menu, the [`TaskListCloudComponent`](
Use this to handle the response, inspect the action payload (and all custom properties defined
earlier), and perform the corresponding actions.
#### Listing service tasks
Emitted when the user executes a row action.
This usually accompanies a `showRowActionsMenu` event.
The [`TaskListCloudComponent`](../../process-services-cloud/components/task-list-cloud.component.md) itself does not execute actions but provides support for external
integration. If actions are provided using the `showRowActionsMenu` event
then `executeRowAction` will be automatically executed when the user clicks a
corresponding menu item.
```ts
const queryParams = {
activityName: "serviceTask1",
maxItems: 10,
skipCount: 0
}
```
```html
<adf-cloud-task-list
[taskType]="'serviceTask'"
[queryParams]="queryParams">
</adf-cloud-task-list>
```
## See also
- [Data column component](../../core/components/data-column.component.md)