Skip to main content

octopus execution wait

octopus execution wait​

Wait for a deferred execution to reach a terminal state

Synopsis​

Poll an execution until it completes, fails, or is cancelled.

Useful for resuming a wait after --detach, or in scripts that need to block until a saga finishes.

octopus execution wait <correlation-id> [flags]

Examples​

octopus execution wait 7b3e9f1a-...
octopus execution wait 7b3e9f1a-... --timeout 2m
octopus execution wait 7b3e9f1a-... -o json

Options​

-h, --help help for wait
--timeout duration Maximum time to wait (default 1m0s)

Options inherited from parent commands​

-c, --correlation string Correlation ID for request tracing (UUID, auto-generated if omitted)
-g, --global Shorthand for --tenant global
-i, --idempotency-key string Idempotency key for exactly-once execution (UUID, auto-generated per operation if omitted)
-o, --output string Output format: human, json (default "human")
-p, --profile string Override active config profile for this command.
-t, --tenant string Tenant code. Overrides default_tenant from config.
-v, --verbose Enable verbose output

SEE ALSO​