§0 — Setup
Workspace ready, HRIS mock reachable on port 39814
Energy workspace is active. HRIS mock server is reachable (port 39814). The employee onboarding seed has been applied: Jordan Chen (EMP-2026-0892, Field Operations Engineer, Permian Basin TX) case is ready to run.
§1 — Dashboard
Three energy processes visible in the same workspace
Workflow Control Center for the energy operations team. Three AI-orchestrated processes running in the same workspace: Access Provisioning (REQ tickets), IT Incident Management (INC tickets), and Employee Onboarding (Jordan Chen). One platform, multiple workflows.
Case queue showing all three active energy processes: Jordan Chen (Employee Onboarding, just created), Alex Rivera (IT Incident Management, INC0002001), and James Kowalski / Sarah Chen (Access Provisioning). All three workflows visible simultaneously — one energy workspace.
§2 — Package Overview
Energy package with 5 integrations: HRIS added alongside ServiceNow + Intune
Energy — Operations & ITSM package showing 5 integrations: ServiceNow (port 39810), Access Provisioning (port 39811), ServiceNow Incident (port 39812), Microsoft Intune (port 39813), and HRIS / Workday (port 39814). Three AI-orchestrated processes supported from a single vertical package installation.
Access Planning Agent: uses hris_get_role_requirements to retrieve standard system access requirements for the role/department, then applies LLM reasoning to build a concrete, manager-reviewable access provisioning plan. Graduated autonomy — manager review gate enabled. Pipeline: hris_get_role_requirements → llm_reasoning (output_schema validated) → write.
§3 — HRIS Webhook
HRIS new-hire event fires → Jordan Chen onboarding case auto-created
Settings → Integrations shows the hris-new-hire-inbound event source. A ROUTE rule maps all HRIS new-hire payloads to the Employee Onboarding template. MAP rules extract employee ID, name, and start date. Activation policy: auto_activate_when_valid.
HRIS new-hire event received. Webhook intakeStatus: activated. Jordan Chen employee onboarding case is now active in the job queue. The energy-onboarding-v1 process template was instantiated automatically — 7 nodes configured for end-to-end IT onboarding orchestration.
Employee onboarding workflow graph: energy-onboarding-v1 instantiated for Jordan Chen. 7 nodes: HR Data Intake (AI) → Access Planning (AI, graduated) → Manager Approval (human) → Equipment Provisioning (AI) → Access Request Submission (AI) → Onboarding Package (AI) → HRIS Status Update (AI). n1 — HR Data Intake — is active (HRIS MCP call in progress).
§4 — Intake + Planning
HRIS fetch (n1) + LLM access plan (n2) — manager-reviewable output
n1 — HR Data Intake complete. The agent called hris_get_employee(EMP-2026-0892) → retrieved Jordan Chen's full HRIS record: name, job title, department, start date, manager email (michael.torres@energy-client.com), location (Permian Basin TX), and UPN (jordan.chen@energy-client.com). All fields written to case.employee.* attributes.
n2 — Access Planning complete. The agent called hris_get_role_requirements → then applied LLM reasoning to build the access provisioning plan. Plan includes: SCADA Viewer (read), ServiceNow READ (read), SharePoint Field Ops (read-write). Device needs: laptop from IT staging pool. Estimated onboarding: 2 days. Plan written to case.planning.required_systems and ready for manager review.
Case Record tab showing the full employee profile and access plan after n1 and n2 completion. employee.name: Jordan Chen | employee.role: Field Operations Engineer | planning.required_systems: 3 systems | planning.estimated_days: 2 | All attributes written to case_attributes via the D-16 write path.
§5 — Manager Approval
Human gate: manager reviews and approves the access plan
n3 — Manager Approval (human gate). Manager reviews the AI-generated access plan: SCADA Viewer (read), ServiceNow READ (read), SharePoint Field Ops (read-write). Device: LAPTOP-PRD-5201 from IT staging pool. Estimated 2-day setup. Manager can approve, modify, or reject the plan before any provisioning begins.
Manager approval complete (n3). Access plan approved with notes. D-3 cascade fired: n4 — Equipment Provisioning — is now activated. The Intune agent will assign LAPTOP-PRD-5201 from IT staging to Jordan Chen's UPN.
§6 — Equipment Provisioning
Intune: LAPTOP-PRD-5201 transferred from IT staging → compliant
n4 — Equipment Provisioning complete. The agent called intune_update_device_owner(LAPTOP-PRD-5201, jordan.chen@energy-client.com) → device transferred from IT staging pool (it.staging@energy-client.com). Then intune_verify_compliance → LAPTOP-PRD-5201 is now compliant. Results written to case.equipment.assigned_device and case.equipment.compliance_status.
LAPTOP-PRD-5201 assigned to jordan.chen@energy-client.com and verified compliant in Intune. n4 complete. D-3 cascade fired: n5 — Access Request Submission — is now activating. The ServiceNow mock will create ticket REQ0000892 in the next agent step.
§7 — Live Cross-Process Hand-off
n5 submits ServiceNow REQ0000892 → webhook fires → new Access Provisioning job appears
n5 — Access Request Submission complete. The agent called snow_create_access_request(Jordan Chen, jordan.chen@energy-client.com, [SCADA Viewer, ServiceNow READ, SharePoint Field Ops], michael.torres@energy-client.com). ServiceNow mock returned ticket_number: REQ0000892. Result written to case.access_request.ticket_number = REQ0000892.
n5 fired ServiceNow-inbound webhook (ticketNumber: REQ0000892, ACTIVATED). A new Access Provisioning job for Jordan Chen appeared in the job queue — cross-process automation happening live on screen. Three processes now visible: Onboarding (n5 complete), Incident Management, and the new Access Provisioning job for jordan.chen@energy-client.com.
§8 — Onboarding Package + Completion
LLM welcome email (n6) + HRIS writeback onboarding_complete (n7)
n6 — Onboarding Package complete. LLM drafted a professional welcome email for Jordan Chen including: device ID (LAPTOP-PRD-5201), ServiceNow ticket REQ0000892 for tracking, 3 systems being provisioned, estimated 2-day setup timeline, and IT support contact. Written to case.onboarding.welcome_email and case.onboarding.checklist_items.
n7 — HRIS Status Update complete. The agent called hris_update_onboarding_status(EMP-2026-0892, onboarding_complete). HRIS mock returned: previous_status=pending_start, new_status=onboarding_complete. case.completion.status = onboarding_complete. Full loop closed — HRIS is authoritative.
All 7 nodes complete for Jordan Chen (EMP-2026-0892). Full end-to-end onboarding: HRIS intake → access plan → manager approval → Intune device assignment → ServiceNow access request → welcome email → HRIS writeback. Zero human intervention beyond the manager approval gate.
§9 — Cross-Process View
All three energy processes complete — one workspace, full audit trail
Final state: all three energy processes visible in the same workspace. Jordan Chen — Employee Onboarding (all 7 nodes complete). Alex Rivera — IT Incident Management (resolved). Jordan Chen — Access Provisioning (created by live hand-off from n5). One platform, three connected workflows, no data-silos, real audit trail.
Audit ledger for the Jordan Chen onboarding case. Every step traceable: HRIS intake, access plan authored by LLM, manager approval decision, Intune device assignment (with compliance verification), ServiceNow ticket number, welcome email content, and HRIS status update. Full chain-of-custody — compliant with SOX / ISO 27001 access control requirements.