Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Approval Gates · Workflow Automation

Direct answer

Approval gates pause a workflow until someone approves, such as before deploying to production, with timeouts and a record of the decision.

When to use this

Use this when workflows pause for approval.

First 30 seconds

1. Approval gates pause workflows for human approval.

2. Define approvers and timeouts.

3. Show context (diff/plan).

4. Log decisions.

5. Use for production/risky actions.

Operational verification

workflow → approval request → approved/rejected → continue/stop

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Workflow approval gates / protected resource checks
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWorkflow approval gates / protected resource checks · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when workflows pause for approval.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

Run a fixture workflow to the gate and confirm the execution persists without consuming repeated side effects while waiting. Approve one instance and verify only that instance advances; reject or let another expire and confirm the configured terminal/escalation path. Restart a worker/controller if safe to show waiting state durability. Correlate the decision with downstream mutation and read-back.

Step 2 Common mistakes Narrow the fault
  • Approval gates without context.
Step 3 Where it fails Narrow the fault

Separate workflow state persistence, gate-policy evaluation, identity/authorization, decision storage, transition scheduling and downstream action. A gate can be approved while the workflow later fails to resume; a workflow can be waiting because no approver exists rather than because the worker is hung. Do not force-skip a gate without recording policy exception and target scope.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Approval gates pause a workflow until someone approves.
  • Set an approver and a timeout.
  • Record the decision.
Key checks
  • Approval step configuration — who approves
  • Timeout for approval — expiry
  • Approval audit log — evidence
ReferenceWhy it matters1 section · depth on demand

In depth

Approval gates pause a workflow until an authorised person approves or rejects the next step, typically before production changes. They add human judgement and a record of who allowed what.

PlatformMechanism
GitHub ActionsEnvironments with required reviewers
GitLabProtected environments, manual jobs
AAP/AWXApproval nodes in workflow templates
Jenkinsinput step
ServiceNowChange approval before job launch

Show approvers what will change (plan output, diff), set a timeout so forgotten approvals expire, and do not let the requester approve their own change.

ReferenceImportant terms & boundaries1 section · depth on demand

Mechanics

An approval gate is a workflow transition guarded by a human or policy decision. Unlike generic approval records, the gate has state-machine semantics: the workflow must persist while waiting and then take a deterministic transition on approve, reject, timeout or cancellation. The gate should bind to the exact workflow instance and immutable inputs/artifact being approved. Multiple gates may protect different resources or risk stages.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Lifecycle

Version gate placement and policy with the workflow, review approver groups/resource owners, and document timeout/escalation behavior. Ensure in-flight instances retain a compatible gate definition during deployment of new workflow versions. Avoid long-lived hidden waits without expiration and provide cancellation/recovery procedures. If upstream data changes after the gate request, invalidate or re-evaluate approval as policy requires.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWorkflow approval gates / protected resource checks 2026/current

Authoritative/upstream documentation reviewed for bounded claims in Workflow Automation > Approval Gates. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops · confidence 94%
Embedded reference data

Quick lookup tables

Workflow Automation → Approval Gates · operational reference

Context-specific ownership, verification, output and failure-boundary lookup for Workflow Automation → Approval Gates.

LayerWorkflow Automation → Approval Gates operational reference
Runtime/ownershipWorkflow approval gates / protected resource checks · identify controller/parser, durable intent, identity and target ownership before mutation
Persistent intentVersioned definition/configuration with explicit dependencies, scope and credential boundary
VerificationRun a workflow that reaches a gate, confirm state is durable while waiting, approve one instance and reject/expire another, then inspect downstream transition and target state.
Expected interpretationThe workflow cannot cross the protected transition without the required decision, waiting survives worker/controller changes, and approve/reject/timeout lead to explicit different paths.
Recovery boundaryPreserve correlation IDs + pre-state, repair first failing boundary, then verify the target independently
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

Capture workflow instance, definition version, gate/check ID, protected state/resource, artifact/revision, requested/decision timestamps, approver identity, decision/timeout reason and resulting next state. Waiting should be visibly distinct from queued or failed. Preserve both the workflow trace and the external approval audit record.

Confirmation

Confirm action

Continue?