> ## Documentation Index
> Fetch the complete documentation index at: https://docs.there.do/llms.txt
> Use this file to discover all available pages before exploring further.

# Tasks

> Manage an action log with statuses, dates, sorting and archiving

The Tasks block is designed for operational tracking within a document.

<Note>
  To add this block, type `/tasks` or `/actions` then select
  <Icon icon="list-todo" size={16} /> **Task tracker**.
</Note>

## Creating a task

When creating a task, you can define:

* A date
* A planned start
* A deadline
* A status (`To do`, `In progress`, `On hold`, `Done`, `Cancelled`, `For the record`)

Date changes are saved automatically.

To display effective dates alongside the status, open

<Icon icon="settings-2" size={16} /> **Options** then select the display mode for
statuses (with date or without date).

The delta (`D+7`, `D-3`) is calculated automatically when date display is enabled.

## Sub-tasks

You can build a task hierarchy within the same block.

To create a sub-task:

1. Open the task menu <Icon icon="ellipsis-vertical" size={16} />.
2. Click **Add a sub-task**.

You can also convert an existing task into a sub-task with **Indent**, then move it back up with **Outdent**.

<Tip>
  Add a short name to group names in the [Attendance block](/features/document/blocks/attendance) (`STR`, `MGR`, `SUB`) to make company selection easier when assigning tasks.
</Tip>

## Archiving

To keep the table manageable over time:

1. Open the action menu <Icon icon="zap" size={16} />.
2. Click **Archive completed tasks**.

You can then show archived tasks again using the <Icon icon="archive" size={16} /> icon to preserve the full history.

To archive/unarchive a specific task or sub-task, open its menu <Icon icon="ellipsis-vertical" size={16} /> and click **Archive** / **Unarchive**. When archiving a parent task, its sub-tasks are automatically archived as well.

## Automatic ID and numbering

You can display an identifier on each task.

The numbering increments automatically based on the naming convention detected in the block.

## Sorting

Sorting is available by:

* Manual (default)
* Status
* Date
