task_update_task_status
Update the status of a task execution in a workflow, such as marking it as IN_PROGRESS, COMPLETED, or FAILED, with optional output data and logs.
Instructions
Updates the status of a task execution. This is typically used by workers to update task status.
Args: task_id: The uuid representing the task execution id workflow_instance_id: The uuid representing the workflow instance id status: New task status (IN_PROGRESS, FAILED, FAILED_WITH_TERMINAL_ERROR, COMPLETED) output_data: Optional dictionary containing task output data logs: Optional list of log entries for the task
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| workflow_instance_id | Yes | ||
| status | Yes | ||
| output_data | No | ||
| logs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |