Skip to content

subtasks.updateStatus

Type: mutation Module: convex/subtasks.ts

{
subtaskId: Id<"subtasks">,
status: subtaskStatusValidator,
}

Transition a subtask to a new status. Rolls up counts to the parent task. @param subtaskId - The subtask to update @param status - New status (pending, executing, retrying, completed, failed, skipped)