---
title: Task fields and templates
project: BPM
version: 1.0
section: reference
language: en
license: Total.js Enterprise
url: https://totaljs.es/docs/bpm/1-0/reference/task-fields/
updated: 2026-11-20T18:44:32.311Z
---

# Task fields and templates

> The fields of a task and how templates fill them from the data.

Besides its data, every task has six text fields. They are shown in the [Inbox](../../guides/inbox/) and in [Tasks](../../guides/tasks/), so people can tell the tasks apart.

| Field | Template setting | Shown in |
|---|---|---|
| Name | **Template name** | Inbox, Tasks, the title of the task window |
| Subject | **Template subject** | Inbox, Tasks |
| Number | **Template number** | Inbox, Tasks |
| Result | **Template result** | Tasks |
| Reference | **Template reference** | Tasks |
| Body | **Template body** | stored with the task |

## Templates

Form nodes with an action, and the components **Create**, **Step**, **Close** and **Subtasks**, have a template for each field. A template is text with placeholders in double curly brackets. `value` is the data that arrives, for example the values of the form:

```text
Leave: {{ value.reason }}
```

```text
Approved: {{ value.comment }}
```

A template can also be plain text, for example `Approved` in **Template result** of a Close node.

When a step has no template for a field, the field keeps its value from the earlier steps. When a **Create** has no **Template name**, the task gets the name of the output (form) or of the node.

## Data of the task

The values of the forms are stored in the data of the task, under the **path** of each field of the form. Every step adds its values, so a later form receives all values sent so far. With **Path for storing form data**, the values of one node are stored under that key instead, for example `approval`.
