[**zonegaze-flow**](../../../../README.md)

***

[zonegaze-flow](../../../../README.md) / [flow/contracts/src](../README.md) / addTaskToColumn

# Function: addTaskToColumn()

> **addTaskToColumn**(`board`, `columnId`, `input`, `randomUuid`, `now?`): [`RuntimeCreateTaskResult`](../interfaces/RuntimeCreateTaskResult.md)

Defined in: [flow/product/src/kanban-adapter/task-board-mutations.ts:446](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/flow/product/src/kanban-adapter/task-board-mutations.ts#L446)

Creates a task at the top of a column after validating prompt, base ref, id uniqueness, and hierarchy rules.

## Parameters

### board

#### columns

`object`[] = `...`

#### dependencies

`object`[] = `...`

#### workTypeRegistry

`RuntimeWorkTypeRegistry` = `runtimeWorkTypeRegistrySchema`

### columnId

`"backlog"` \| `"in_progress"` \| `"review"` \| `"trash"` \| `"plan_later"` \| `"plan_review"` \| `"next_up"` \| `"archive"`

### input

[`RuntimeCreateTaskInput`](../interfaces/RuntimeCreateTaskInput.md)

### randomUuid

() => `string`

### now?

`number` = `...`

## Returns

[`RuntimeCreateTaskResult`](../interfaces/RuntimeCreateTaskResult.md)
