Automation · Self-Service Automation
Validation
Cheat sheet · https://pcornel.dk/topic.php?topic=6027
Answer
Validation in self-service automation checks requests against rules — quotas, naming standards, allowed environments — before approval or execution.
Remember
- Validate quotas, naming and environments.
- Validate before approval.
- Give clear error messages.
First checks
- Server-side validation of requests — security
- Quota checks — limits
- Naming/uniqueness checks — conflicts
Verify in this order
request → validation → accept/reject
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=6027