Lab: Build Event-Driven Approval Workflow
Objectives
- Create a multi-step approval workflow using event subscriptions: quota check → approval → CMDB creation → deployment.
Prerequisites
VCF lab environment deployed and operational
Lab Environment
Standard VCF lab environment for Advanced VCF 9.0 Automation
Tasks
Task 1 Lab: Build Event-Driven Approval Workflow
Create a multi-step approval workflow using event subscriptions: quota check → approval → CMDB creation → deployment.
Subscribe to "com.vmware.cac.blueprint.request" with blocking action "check-quota"
Add second blocking subscription "route-approval" that sends request to ServiceNow approval queue
Subscribe to "com.vmware.cac.blueprint.request.approved" (non-blocking) for CMDB record creation
Test with valid request (quota available, auto-approved) → proceeds to deploy
Test with quota exceeded → deployment rejected, approval never reaches ServiceNow
Enable event tracing and verify execution order and durations
Validation Gate
Check: Verify lab completion
Expected: Lab exercise completed successfully
Common Errors
Final Validation
Lab completed successfully
✓ All steps completed → No errors observed
Cleanup / Restore
• Revert to snapshot if needed
Design Reflection (VCDX)
Governance automation balances control with agility. VCDX panelists test whether your approval process is operationally sustainable — a process that blocks developers drives shadow IT.