---
title: Approvals by several people
project: BPM
version: 1.0
section: guides
language: en
license: Total.js Enterprise
url: https://totaljs.es/docs/bpm/1-0/guides/approvals/
updated: 2026-11-20T18:44:21.174Z
---

# Approvals by several people

> Let a step wait for the decision of several people: all of them, any one of them or one after another.

A step can wait for the decision of several people: all of them, any one of them, or one after another. Each person approves or rejects with a comment, and the process goes on only when the step is decided.

## Set up an approval

An approval is a setting of a form node with the [workflow action](../workflow-actions/) **Step** or **Close**. The form needs one button to approve and one to reject, for example two Flow Outputs **Approve** and **Reject**, each one with a field for the comment. See [Forms](../forms/).

**1.** Double-click the form node in the [designer](../designer/).

**2.** In **Approval by several people**, choose how the people decide:
- **Any one of them**: the first decision counts.
- **All of them**: everybody must approve. One rejection is enough to reject.
- **One after another**: in the order of the list. Each person gets the task after the previous one approved it. One rejection is enough to reject.

**3.** In **Approvers**, enter the e-mails of people and the permissions, separated by commas, for example `mark@example.com, paul@example.com` or `managers, finance`. A permission counts as one approver: any one of the people who have it.

**4.** Choose the button that approves in **Approve with the button** and the button that rejects in **Reject with the button**.

**5.** In **Path of the comment**, enter the path of the comment field of the form, for example `comment`.

**6.** Select **APPLY**, and then [publish the process](../process-versions/).

![The settings of a form node with an approval by all of two people](/files/Jaulx91et61f.webp)

The approvers replace the **Permissions** of the step. Other buttons of the form move the task on as in any step.

## Approve or reject

The task waits in the [Inbox](../inbox/) of the approvers who still have to decide.

1. Select the task and confirm **Assign**.
2. Write your comment in the field of your decision.
3. Select the button, for example **APPROVE** or **REJECT**.

![The form of an approval with a comment field for each decision](/files/JaulxB1ft60f.webp)

If the step waits for more people, the task leaves your Inbox and waits for them. Each person decides once.

## The decisions in the history

Every decision appears in the history of the task with the name, the date and the comment. See [Tasks](../tasks/).

![The history of a purchase request approved by two people, with their comments](/files/JaulxD1gt61f.webp)

## The result for the next steps

When the step is decided, the task goes on through the button of the result: the approve button when it is approved, the reject button when it is rejected. The data of the task gets `approval` with the result:

```json
{
  "approval": {
    "result": "approved",
    "mode": "all",
    "decisions": [
      { "name": "Mark Smith", "decision": "approved", "comment": "Fine, within the budget of Q4.", "date": "2026-11-20T16:30:48.509Z" },
      { "name": "Paul Green", "decision": "approved", "comment": "Approved. Order them this week.", "date": "2026-11-20T16:30:58.511Z" }
    ]
  }
}
```

Use it in templates, for example `{{ value.approval.result }}`, or in the next nodes. See [Task fields and templates](../../reference/task-fields/).

## Substitutes and escalation

- A [substitute](../substitutes/) decides on behalf of an absent approver. The history says **on behalf of**.
- When an approval is [escalated](../reminders-and-escalation/), the person or the permission that gets it decides for everybody who has not decided yet.

## From your AI

An approver can decide from their AI app with the tools `Tasks_approve` and `Tasks_reject`, with a comment. When the form does not have **An AI may send this form**, the AI gets a link to the form instead. See [Use BPM from your AI](../use-bpm-from-your-ai/).
