CLI Reference

c8volt update

Update existing resources

Synopsis

Update existing resources.

The process-instance command updates process-instance-scope variables on existing Camunda 8.8 and 8.9 process instances. The job command updates job retries and timeout by key, with dry-run planning, confirmation prompts, and submitted output. Camunda 8.7 configurations return an unsupported-version error before these mutations.

c8volt update [flags]

Examples

  ./c8volt update pi --key <process-instance-key> --vars '{"customerTier":"gold"}'
  ./c8volt update pi --key <process-instance-key> --vars-file ./vars.json
  ./c8volt update pi --key <process-instance-key> --vars '{"customerTier":"gold"}' --dry-run
  ./c8volt update job --key <job-key> --retries 3 --dry-run
  ./c8volt update job --key <job-key> --timeout 5m --auto-confirm
  ./c8volt update process-instance --key <process-instance-key> --vars '{"customerTier":"gold"}'
  printf '%s\n' "$PROCESS_INSTANCE_KEY_A" "$PROCESS_INSTANCE_KEY_B" | ./c8volt update pi - --vars '{"customerTier":"gold"}'
  ./c8volt --automation --json update pi --key <process-instance-key> --vars '{"customerTier":"gold"}' --auto-confirm

Options

  -h, --help   help for update

Options inherited from parent commands

  -y, --auto-confirm       auto-confirm prompts for non-interactive use
      --automation         enable non-interactive mode for commands that explicitly support it
      --config string      path to config file
      --debug              enable debug logging
  -j, --json               output as JSON (where applicable)
      --keys-only          output keys only (where applicable)
      --log-level string   log level (debug, info, warn, error) (default "info")
      --no-indicator       disable transient terminal activity indicators
      --profile string     config active profile name to use (e.g. dev, prod)
  -q, --quiet              suppress output except errors
      --tenant string      tenant ID for tenant-aware command flows (overrides env, profile, and base config)
      --timeout duration   HTTP request timeout (default 30s)
  -v, --verbose            show additional output

SEE ALSO