Enum "Agent Task Status"
Defines the current execution state of agent tasks throughout their lifecycle. Provides status tracking from task creation through completion or termination.
Remarks
Used for task management, scheduling, and execution control within the agent framework. Supports both natural task completion and forced termination scenarios. Essential for task lifecycle management and execution monitoring.
Properties
| Name | Value |
|---|---|
| Extensible | False |
| Caption | Agent Task Status |
Values
| Name | Description |
|---|---|
| Paused |
The task is paused because because there is nothing to do (e.g. we have sent an outgoing message and are waiting for a response). This is also the initial status of a task until an input message is received. |
| Ready |
The task is ready to run (e.g. we have received new input for a stopped task). |
| Scheduled |
The task has been scheduled to run and will start running shortly. |
| Running |
The task is currently running. |
| Completed |
The agent has determined the task has been completed. It can still be resumed if new input is received. |
| "Stopped by User" |
The task has been stopped by a user and will not continue running even if new input is received. |
| "Stopped by System" |
The task has been stopped by the system (e.g. harmful content has been detected in an input) and will not continue running even if new input is received. |