Wait for a fixed duration
Pause the workflow at an Argo suspend node for a fixed duration, then resume automatically.
Install v1.0.0
Installs the template into your Argo namespace. The URL is pinned to this version.
kubectl apply -n argo -f https://catalog.dagweave.com/api/v1/items/timed-wait/1.0.0/template.yaml
Or with the Argo CLI:
argo template create -n argo https://catalog.dagweave.com/api/v1/items/timed-wait/1.0.0/template.yaml
Facts
- Category
- Approval
- Tags
- approval
- Entrypoint
wait- Template SHA-256
abeec605429776a4e51ce2b42b798d5d4d738eae3a90ce483ba227a4e448a4da- Source
- timed-wait at catalog commit 67458f7
- API
- item document, latest template.yaml
Images and provenance
This template runs no container images of its own.
Parameters
| Name | Description | Default |
|---|---|---|
duration required |
How long to pause. A bare number of seconds ("300") or a unit-suffixed value ("30s", "10m", "1h", "2h30m"). Example 30s |
1h |
WorkflowTemplate
apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
name: timed-wait
labels:
dagweave.io/catalog-item: timed-wait
annotations:
# The catalog semver this manifest was authored at. The dagweave app records
# (catalog-item-id, semver) -> content-hash -> base-vN when it mints the tenant
# cluster name via ResolveOrMint. Keep in sync with metadata.yaml `version`.
dagweave.io/catalog-version: "1.0.0"
dagweave.io/catalog-category: "Approval"
spec:
entrypoint: wait
templates:
- name: wait
inputs:
parameters:
# How long to pause. Accepts an Argo duration string: a bare number of
# seconds ("300") or a unit-suffixed value ("30s", "10m", "1h", "2h30m").
- name: duration
default: "1h"
# A suspend node with a duration resumes automatically once the duration
# elapses (it can also be resumed early via the Argo UI / resume API). No image
# or container runs — the node simply blocks downstream steps for the duration.
suspend:
duration: "{{inputs.parameters.duration}}"
Version history
Read from the item's changelog. Each version has its own JSON document; the pinned catalogue vendors the manifest of the latest one, so that is the version that installs.
-
1.0.0 latest 2026-07-16
Initial release.
kubectl apply -n argo -f https://catalog.dagweave.com/api/v1/items/timed-wait/1.0.0/template.yamlargo template create -n argo https://catalog.dagweave.com/api/v1/items/timed-wait/1.0.0/template.yaml
Run it once
After installing, from the command line.
argo submit -n argo --from workflowtemplate/timed-wait \
-p duration=30s
Workflow that references it
A Workflow with the required parameters filled from the examples.
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: timed-wait-
spec:
workflowTemplateRef:
name: timed-wait
arguments:
parameters:
- name: duration
value: "30s"
As a step of a larger workflow
steps:
- - name: timed-wait
templateRef:
name: timed-wait
template: wait