Skip to content

Argo Workflows Suspend Quick Fix - Suspension Template Errors

DodaTech Updated 2026-06-26 1 min read

Argo Workflows suspend templates pause execution for manual approval or timed delays. Misconfigured suspend templates cause workflows to hang indefinitely or resume prematurely. This guide covers the fix.

Quick Fix

Wrong

- name: wait-approval
  template: approve
---
- name: approve
  suspend: {}

No duration set and no way to resume. The workflow hangs forever waiting for approval with no time limit and no mechanism to trigger resume.

- name: wait-approval
  template: approve
---
- name: approve
  suspend:
    duration: "24h"
# Expected output after applying the fix
# Workflow suspends at "approve" step
# To resume: `argo resume <workflow-name>`
# Auto-resumes after 24h if no manual action
# Step status: Suspended → Running → Succeeded

Prevention

  • Always set duration on suspend templates to prevent indefinite hangs
  • Document resumption commands in workflow descriptions
  • Use argo resume <workflow> for manual approval
  • Use argo terminate <workflow> to cancel suspended workflows
  • Combine suspend with Slack or email notifications for approvals

DodaTech Tools

Doda Browser's approval dashboard shows all workflows awaiting manual action. DodaZIP archives approval decisions for Compliance audits. Durga Antivirus Pro enforces approval gates for production deployments.

FAQ

How do I resume a suspended workflow?

Use argo resume <workflow-name> or argo resume <workflow-name> --node-field <node-id>. The workflow continues from the suspended step. ||| Can I set a suspend template to auto-resume at a specific time? Suspend templates use duration-based suspension. For time-based suspension, use a script template that checks the current time and sleeps until the target time. ||| What happens if I terminate a suspended workflow? The entire workflow is terminated with "Failed" status. All completed steps remain but no further execution occurs.

Built by the developers of DodaTech

Doda Browser, DodaZIP & Durga Antivirus Pro