Spanish Total.js
English
Documentation For AI agents
Contents

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.

.md Website
On this page

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 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.

1. Double-click the form node in the 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.

The settings of a form node with an approval by all of two people

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 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

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.

The history of a purchase request approved by two people, with their comments

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:

{
  "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.

Substitutes and escalation

  • A substitute decides on behalf of an absent approver. The history says on behalf of.
  • When an approval is escalated, 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.

Made in Europe