Pcornel
Automation · Automation Design

Outputs

Cheat sheet · https://pcornel.dk/topic.php?topic=5195

Back to the Topic

Answer

Outputs are what an automation job returns — results, created IDs, reports, logs and exit status — in a predictable format, often JSON, so other jobs and people can use them.

Remember

  • Outputs should be predictable and machine-readable, often JSON.
  • Return IDs of anything created so callers can use them.
  • Exit codes tell schedulers and pipelines the result.

First checks

  • Output format (JSON/report) — contract
  • Exit codes — success/failure
  • Artifacts stored — results

Verify in this order

automation → structured output + exit code

Where it usually breaks

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5195

Confirmation

Confirm action

Continue?