EccTask
EccTask describes a user task of a case - what a user has to do, who may do it and with which data.
A user task of a process instance, as delivered by the BPM engine.
import type { EccTask } from "@ecceene/ui-atm";
Fields
| string | Technical MongoDB document id. Not a business identifier - do not use it to address objects. Example: |
| string | Object type, e.g. process, task, history, process_history, process_node, event. Example: |
| string | Java class name of the object. Example: |
| string | Unique id of the task instance. Example: |
| string | Task description from the BPMN model. |
| string | Task name from the BPMN model. Also used to find the task page in the frontend. Example: |
| string | Task priority. |
| string | Lifecycle state: Ready, Reserved, InProgress, Completed, Skipped, Obsolete, Error. Example: |
| string | ecceene: suggested icon key, derived from state (processObject=tasks only), e.g. userTask-ready, userTask-reserved. Example: |
| date-time | Creation time of the task. |
| date-time | Completion time. |
| date-time | Time of the last change. |
| date-time | Due date, if defined. |
| string | Reference name of the task node in the BPMN model. |
| string | External reference id, if set by the engine. |
| string | REST endpoint of the task in the BPM engine. |
| string | nodeInstanceId of the userTask node this task belongs to (from the BPM engine's process history). |
| string | ecceene: Comment configured for the task node in the BPMN model (from workItem.input, not the userTask object). Example: |
| string | ecceene: Content configured for the task node in the BPMN model (from workItem.input, not the userTask object). |
| string | ecceene: GroupId the task was created for (from workItem.input, not the userTask object). Example: |
| string | preferredUsername of the user who claimed the task. Null if not claimed. Example: |
| string | ecceene: stable userId (subject) of actualOwner, looked up in the 'user' collection by preferredUsername. Null until claimed or if the user has no master record yet. |
| string | ecceene: "Lastname, Firstname" of actualOwner, looked up the same way as actualOwnerUserId. Example: |
| list of string | Groups with admin rights on the task. |
| list of string | Users with admin rights on the task. |
| list of string | Users who must not see or work on the task (e.g. four-eyes principle). |
| list of string | Groups allowed to claim the task. |
| list of string | Users allowed to claim the task. |
| list of string | ecceene: stable userIds (subject), one per entry in potentialUsers, looked up in the 'user' collection by preferredUsername. Null entries where no master record exists yet. |
| list of string | ecceene: "Lastname, Firstname", one per entry in potentialUsers, looked up the same way as potentialUserIds. |
| string | processId of the process the task belongs to. Example: |
| string | processInstanceId of the process the task belongs to. |
| string | processId of the root process. Example: |
| string | processInstanceId of the root process. |
| ecceene: root process instance from the Data Index (GET /api/v1/task only). | |
| object | Task input data (BAMOE inputs). Structure depends on the process model. Always a JSON object: eccatm-service parses the JSON text of the Data Index. |
| object | Task output data. Structure depends on the process model. Same format rules as inputs. |
| object | BAMOE: attachments of the task { id, name, content, updatedAt, updatedBy }. |
| object | BAMOE: comments of the task { id, content, updatedAt, updatedBy }. |
| object | ecceene: full raw userTask snapshot from the latest USER_TASK_STATE/USER_TASK_ASSIGNMENT event in 'ecc_process_history' (processObject=tasks only) — everything the typed fields above already surface, plus anything not individually mapped. |
| string | |
| string |
Fields without a value are left out of the JSON.
TypeScript type
The frontend type EccTask follows this structure. Delivered by the API but not declared in the TypeScript type: _id.
Where it is used
API Reference | |
API Reference | |
API Reference | |
API Reference | |
Developer Guide | |
Developer Guide | |
Developer Guide | |
Developer Guide | |
Developer Guide | |
System Handbook | |
object used in a field of EccTask |
On this page
- EccTask