workflow-debugging
Installation
SKILL.md
AEM Workflow Debugging — Cloud Service
Production-grade debugging for the AEM Granite Workflow engine, launcher, Inbox, Sling Jobs, thread pools, and purge on AEM as a Cloud Service (AEMaaCS).
Audience
AEMaaCS developers and operators (and the IDE LLM acting on their behalf) diagnosing stuck or failed workflows on a local AEMaaCS SDK or a cloud environment — Developer Console, Sling Job Console, and Cloud Manager Logs available; no production Felix Console JMX or filesystem access.
Variant Scope
- AEM as a Cloud Service only.
- Not for AEM 6.5 LTS / AMS. If the target is 6.5 LTS, stop and load the 6.5-lts variant of this skill — JMX-based remediation, Felix Console runtime config, AMS log filesystem access, and
jstackthread dumps documented there do not apply on AEMaaCS. - No JMX access on AEMaaCS production. Diagnosis is read-only via Developer Console, Sling Job Console, and Cloud Manager Logs. Never recommend JMX-based remediation (
restartStaleWorkflows,purgeCompleted,terminate,retryFailedWorkItems) — those are 6.5-LTS-only mechanisms. Use Inbox Retry, Purge Scheduler (OSGi config in Git), custom servlets likeStaleWorkflowServlet, and Cloud Manager pipeline-driven config changes instead. - All remediation lands via Git + Cloud Manager pipeline: OSGi configs in
ui.config, custom servlets incore, ACLs inui.apps/.../repoinit. There is no Felix Console write access on cloud environments. - See reference.md for runbook locations and diagnostic tool pointers.
Dependencies
This skill is largely self-contained but routes back into the dev skills when the root cause is a code or model defect: