---
title: Subtasks
project: BPM
version: 1.0
section: guides
language: en
license: Total.js Enterprise
url: https://totaljs.es/docs/bpm/1-0/guides/subtasks/
updated: 2026-11-20T18:44:30.444Z
---

# Subtasks

> Split a task into several subtasks that run side by side.

The **Subtasks** component splits one task into several subtasks, for example a review by the manager and a review by HR. Each subtask is a task of its own that continues through its own output.

## Set up subtasks

1. Drag **Subtasks** from the **Workflows** group onto the canvas and connect the task to its input.
2. Double-click the node.
3. In the list, select **Create task** for each subtask, enter its **Name**, optionally its **Permissions**, and select **Save**.
4. Optionally fill in the templates. They set the fields of the main task, and the subtasks get the same values. See [Task fields and templates](../../reference/task-fields/).
5. Select **APPLY**, and [publish the process](../process-versions/).

After a moment the node shows one output for each subtask and the output **Check**. Connect each subtask output to the next step, for example a Step form, so that the subtask waits in the [Inbox](../inbox/).

## The Check output

Whenever a subtask changes, for example when somebody approves it, the Subtasks node sends the main task through **Check**. The data holds:

- `attrs`: the data of the main task,
- `subtasks`: the list of subtasks, each with `id`, `name`, `subject`, `result`, `attrs`, `isclosed`, `ischanged` and its dates.

Use it to decide when the main task can continue, for example with a Flow component that checks whether all subtasks are closed. See the [Flow components](/flow/11-1/components/introduction/).

## In Tasks

Subtasks appear in [Tasks](../tasks/) like other tasks. The main task stays at the Subtasks step until your process moves it on.
