Task
Javapackage: com.etendoerp.task
Overview
The Task infrastructure in Etendo enables the automatic creation, assignment, and management of tasks based on database events, such as inserting or updating records. It is designed to help organizations automate business processes by defining task types, assignment algorithms, and automated actions that are triggered when specific events occur. This functionality is useful for cases where consistent follow-up, validation, or user actions are required, such as order management, incident tracking, or customer status updates.
Warning
In order to make use of this task infrastructure it is necessary to define task types, assignment algorithms and automations. As well as the initial configuration of the infrastructure. More information can be found in Developer's Guide - Task
Task Window
Application > General Setup > Task Management > Task
This window shows all tasks created by triggers defined in the Task Type definition and allows creating or managing tasks manually. In this window you can manage tasks. These tasks are generic and therefore represent a concept that any entity can refer to or extend as appropriate.
- Task Type: Dropdown with task type options.
- Status: Available statuses for a task. The distributed statuses are
Pending,In Progress,CompletedandClosedand the default initial status isPending. - Assigned User: User responsible for performing the task.
- Assigned Role: Role associated with the user assigned to the task, used for access control and permissions.
- Priority: Level of importance assigned to the task (e.g.,
Critical,Major,MinorandTrivial). This helps organize and prioritize work. - Active: Checkbox to enable or disable this task.
- Creation Date: Read-only field with task creation date time.
Note
Specific modules may add contextual fields to the task window.
Logs Tab
This tab displays a detailed record of all asynchronous processes that have been executed as part of this task's workflow. Each log entry represents a process execution triggered by status transitions or events defined in the task type configuration.
Fields to note:
- Line No: Sequential number that determines the order of log entries for this task after the execution of an asynchronous process.
- Process Definition: Reference to the process definition implementation using Process with 3.0 infrastructure.
- Organization: The organization unit associated with the log entry (e.g., store, department). Data can be shared between organizations.
- Active: Indicates whether the record is active or deactivated. Deactivated records are not available for selection but remain available for reporting.
- Start Time: The timestamp when the process execution started.
- End Time: The timestamp when the process execution finished.
- Message: The message returned by the execution of the asynchronous process. The format of this message may vary depending on the process (text/JSON/XML, etc.).
This work is licensed under CC BY-SA 2.5 ES by Futit Services S.L.
