Tasks
Task rules
Decide a User Task that several people respond to: counts, percentages, majority and two thirds, unanimous and consensus, per-outcome thresholds, qualified approvers (roles, teams, job titles, directory groups, the starter's manager chain), AND / OR, vetoes, approval levels, weighted votes, and explicit handling of ties, abstentions, impossible rules, people who leave, redirects, self-approval and deadlines.
Task rules decide when a User Task that several people respond to is done, and with which outcome. They apply when the step's assignees are set to Everyone gets it (assignees_mode: "everyone"). With task rules set, even a list that resolves to one person or one team is a shared task that the rule decides.
Open the User Task step, choose Task rules and start from a preset, then refine it in the advanced builder. A live sentence describes the rule ("Approved when 2 of Directors choose Approved. If it can no longer be met: Rejected."), and warnings appear when it cannot work, e.g. Only 3 people match Directors; the rule needs 5.

Presets#
| Preset | Means |
|---|---|
| Any one | The first response decides. |
| All must approve | Everyone must choose the approve outcome; any other response decides at once ("any reject rejects"). |
| Majority | More than half of the people decide; a tie follows the tie setting. |
| N of M | N people must approve; rejected once that can no longer happen. |
| Consensus | Everyone must choose the same outcome; while they disagree it stays open (people can change their response). |
| N from a group | N people from a role, team or job title must approve — "2 directors or VPs". |
How a rule is built#
- Groups — named sets of qualified responders, each "anyone who matches one of": a person, a role, a team (optionally with its sub-teams), a job title (equals or contains, from the person's profile), a directory group (Entra ID), the starter's manager (or their manager's manager, or anyone up the chain to a level), people managers (anyone with a direct report), or people from a
{{variable}}. Groups pick people among the task's assignees: put the directors on the Assign to list too. - Decisions — an ordered list "outcome when condition". The first decision whose condition holds decides. A veto is a decision listed first: "Rejected as soon as anyone in Legal chooses Rejected".
- Conditions — a threshold (a count, a percentage, a majority, two thirds, three quarters or everyone; of the eligible people or of the votes cast, with an optional quorum; optionally weighted; optionally within a group), "the most chosen outcome", "everyone has responded", and AND / OR groups of these, nested.
- Stages (optional) — approval levels in order. Each person takes part in the first stage whose groups they match; a later stage's people get the task only when that stage opens. A stage passes when its condition holds (counting that stage's people), and the last stage passing decides the stages outcome. Decisions still apply at every stage, so a veto works at any level.
- Weights (optional) — a group can carry a vote weight (the CFO counts 3); weighted thresholds sum weights.
Edge cases — all explicit#
| Setting | Choices |
|---|---|
| When to decide | As soon as a decision holds (default) · only once the outcome can no longer change · once everyone has responded |
| No-opinion outcomes | Outcomes that count as a response but for nothing; they leave the base of percentages unless you keep them in |
| Changing a response | Allowed until the task is decided (default), or off |
| Cannot be met any more | Keep waiting (until the due date / an admin) or decide a fallback outcome. When it is already impossible as the task is created: a run-log warning, or fail the step |
| Ties | The outcome listed first · the latest responder's outcome · a fixed outcome · keep waiting |
| Someone in several groups | Counts in each group (default) or towards one group only |
| Self-approval | The person who started the workflow (and a requester you name, e.g. {{form.requester_email}}) may respond, their response does not count, or they cannot respond |
| Redirected people | Take over the original person's groups and weight (default), or count as themselves |
| People added later | Count by their own groups (default), or not at all |
| People who leave | Waiting on them stops either way (deactivated, removed); their response keeps counting (default) or is dropped |
| At the due date | Nothing · a fallback outcome · decide on the responses so far · escalate to people (a person, role, the starter's manager…) whose response decides |
Early decisions are automatic: once no decision can be reached any more (not enough qualified people left, a unanimous vote broken) the fallback runs straight away instead of waiting for everyone; once the task is decided, the remaining people's work is closed with it. A manager acting on behalf of an assignee responds as that assignee (their groups count). A response that arrives after the decision is refused, recorded in the task's history as not counted.
Seeing where it stands#
The task page and the Process view show the rule's state in plain words, e.g. Approved: 3 of 5 · Legal (Approved): 0 of 1 · waiting on Legal. When it is decided, the history records which condition decided it ("Rejected as soon as anyone in Legal chooses Rejected") with the counts, and the step's next steps can read it as {{rule_decision.condition}}, {{rule_decision.summary}} and {{rule_decision.counts}}.

Examples#
Purchase over USD 50,000: 2 directors or VPs, Finance can veto, the requester cannot approve their own request:
{
"assignees": [{ "type": "role", "id": "director" }, { "type": "role", "id": "vp" }, { "type": "team", "id": "<finance team id>" }],
"assignees_mode": "everyone",
"outcomes": ["Approved", "Rejected"],
"task_rules": {
"groups": [
{ "id": "leaders", "label": "Directors or VPs", "any_of": [{ "type": "role", "id": "director" }, { "type": "role", "id": "vp" }] },
{ "id": "finance", "label": "Finance", "any_of": [{ "type": "team", "id": "<finance team id>" }] }
],
"decisions": [
{ "outcome": "Rejected", "when": { "type": "threshold", "outcome": "Rejected", "count": 1, "group": "finance" } },
{ "outcome": "Approved", "when": { "type": "threshold", "outcome": "Approved", "count": 2, "group": "leaders" } }
],
"options": {
"self_approval": "blocked",
"requester": "{{form.requester_email}}",
"on_impossible": { "action": "outcome", "outcome": "Rejected" },
"deadline": { "action": "escalate", "escalate_to": [{ "type": "starter_manager", "level": 2 }] }
}
}
}(3 approvals AND 1 from Legal) OR the CFO approves:
{ "outcome": "Approved", "when": { "type": "or", "any": [
{ "type": "and", "all": [
{ "type": "threshold", "outcome": "Approved", "count": 3 },
{ "type": "threshold", "outcome": "Approved", "count": 1, "group": "legal" }
] },
{ "type": "threshold", "outcome": "Approved", "count": 1, "group": "cfo" }
] } }Two levels: the manager first, then 2 of the finance committee; a two-thirds majority of the votes cast with a quorum of 4:
{
"groups": [
{ "id": "mgr", "label": "Manager", "any_of": [{ "type": "starter_manager" }] },
{ "id": "committee", "label": "Finance committee", "any_of": [{ "type": "job_title", "value": "Committee member", "match": "contains" }] }
],
"decisions": [{ "outcome": "Rejected", "when": { "type": "threshold", "outcome": "Rejected", "count": 1, "group": "mgr" } }],
"stages": [
{ "label": "Manager", "groups": ["mgr"], "pass": { "type": "threshold", "outcome": "Approved", "count": 1 } },
{ "label": "Committee", "groups": ["committee"], "pass": { "type": "threshold", "outcome": "Approved", "fraction": "two_thirds", "of": "votes", "quorum": 4 } }
],
"stages_outcome": "Approved"
}Special decision outcomes: "$met" (the outcome that met a "outcome": "*" — "same outcome" — threshold) and "$leading" (the most chosen outcome). Old completion_rule values run as: first_response → any one, all_complete → everyone responds and the most chosen wins, consensus → a clear leader after min_responses, unanimous → everyone the same (else the most chosen, recorded as not unanimous), custom → its expression. One difference: a tie under all_complete / consensus now goes to the outcome listed first on the step.
Limits#
- Qualifications are fixed when a person is added to the task: a role or team change afterwards does not move them between groups (deactivation does count).
- Job titles come from people's profiles (
job_title); there is no seniority level field, so "director or above" is a list of titles or roles. - With "counts towards one group only", weighted thresholds and votes-cast percentages still count in each group.
- "Only once the outcome can no longer change" treats responses already given as final.