EccProcessTasks
EccProcessTasks lists the user tasks of a case - open and finished - with title, start time, group or owner, and a button to work on open tasks.
import EccProcessTasks from "@/ecc/components/widgets/EccProcessTasks";
<EccProcessTasks rootProcessInstanceId={process.rootProcessInstanceId ?? process.processInstanceId}
onCountChange={setOpenTasks} />
Props
|
| id of the root instance of the case |
|
| number of open tasks (state |
What it shows
icon | from the task's |
title | the task's |
time | start of the task, relative, via EccDate |
subtitle | open tasks: the potential groups; other tasks: the owner's display name |
edit button | open tasks only: opens the task page ( |
Data
The widget calls GET /api/v1/process/{rootProcessInstanceId}/tasks (through fetchProcessTasks). Each entry is an EccTask.
Related
super widget: tab Tasks | |
the task list of the user across all cases | |
API Reference of the endpoint |
On this page
- EccProcessTasks