Referencebasetasks
TaskAdminActionEnum
Task admin action enumeration used to change state of task between nodes (telling other node to change state).
Enum
base::tasks::TaskAdminActionEnum
Task admin action enumeration used to change state of task between nodes (telling other node to change state).
Stereotypes: idlEnum · DataElement
Values
| Field | Type | Multiplicity | Description |
|---|---|---|---|
TaskAdminActionEnum_UPDATE | - | [1..1] | Updates the details of an existing task or notifies the system of a new task or change in task, regardless of its state. Does not trigger any state transition. Can be used by client (node monitoring execution) or server (node executing). |
TaskAdminActionEnum_PUSH | - | [1..1] | Assigns a task to a node and requests that it begin execution. Node will keep it PENDING until it starts executing (for example due to other tasks being executing or other constraints - like time range). |
TaskAdminActionEnum_PULL | - | [1..1] | Indicates that the node has claimed ownership of a task and intends to execute it. This is done for tasks in ACTIONABLE state. |
TaskAdminActionEnum_CANCEL | - | [1..1] | Requests the cancellation of a task, regardless of whether it is pending or actively running. |
TaskAdminActionEnum_PAUSE | - | [1..1] | Pause task. |
TaskAdminActionEnum_RESUME | - | [1..1] | Resume paused task. |
TaskAdminActionEnum_ASSIGN | - | [1..1] | Assigns a task to a node but instructs it not to begin execution immediately. The task is placed on hold upon assignment. Equivalent to performing a PUSH followed by a PAUSE. |