1---2name: aem-workflow3description: Routes user requests to specialist skills for AEM 6.5 LTS workflow model design, custom step development, launcher configuration, triggering, debugging, and triaging.4license: Apache-2.05---67# AEM 6.5 LTS Workflow89Route user requests to the appropriate specialist skill based on intent.1011## Intent Router1213| User Intent | Skill | Path |14|---|---|---|15| Create a workflow model, add steps, design OR/AND splits, configure variables | Model Design | [workflow-model-design/SKILL.md](./workflow-model-design/SKILL.md) |16| Implement a custom WorkflowProcess step, ParticipantStepChooser, OSGi service registration | Development | [workflow-development/SKILL.md](./workflow-development/SKILL.md) |17| Start a workflow from code, HTTP API, Timeline UI, Manage Publication, replication triggers | Triggering | [workflow-triggering/SKILL.md](./workflow-triggering/SKILL.md) |18| Configure a launcher, auto-start on asset upload, overlay OOTB launcher | Launchers | [workflow-launchers/SKILL.md](./workflow-launchers/SKILL.md) |19| Workflow stuck, failed step, missing Inbox task, stale instances, thread pool exhaustion, purge | Debugging | [workflow-debugging/SKILL.md](./workflow-debugging/SKILL.md) |20| Classify a workflow incident, determine required logs, JMX diagnostics, Splunk queries | Triaging | [workflow-triaging/SKILL.md](./workflow-triaging/SKILL.md) |21| End-to-end lifecycle or requests spanning multiple concerns | Orchestrator | [workflow-orchestrator/SKILL.md](./workflow-orchestrator/SKILL.md) |2223## How to Use24251. Match the user's request to one row in the Intent Router table above.262. Read the linked SKILL.md for that specialist skill.273. Follow the workflow, references, and output contract defined in that skill.284. For broad or ambiguous requests that span multiple concerns, use the **Orchestrator** which coordinates across all specialist skills and loads foundation references.2930## 6.5 LTS / AMS Capabilities3132| Capability | Detail |33|---|---|34| JMX | Full access via Felix Console (`/system/console/jmx`) or JMX client |35| Retry failed items | JMX `retryFailedWorkItems` or Inbox Retry |36| Stale detection | JMX `countStaleWorkflows` |37| Stale restart | JMX `restartStaleWorkflows(dryRun=true)` then execute |38| Purge | JMX `purgeCompleted(dryRun=true)` or Purge Scheduler |39| Log access | Direct filesystem (`crx-quickstart/logs/`) or AMS log access |40| Config changes | Felix Console, OSGi config in repo, or CRX/DE |4142## 6.5 LTS Guardrails4344| Rule | Detail |45|---|---|46| Avoid editing `/libs` | Use overlays under `/apps` or store at `/conf/global` |47| Model design-time path | `/conf/global/settings/workflow/models/<id>` (preferred) or `/etc/workflow/models/<id>` (legacy) |48| Model runtime path (for API calls) | `/var/workflow/models/<id>` |49| Launcher config paths | `/conf/global/settings/workflow/launcher/config/` (preferred) |50| Service users | Use `ResourceResolverFactory.getServiceResourceResolver()` with a sub-service; avoid `loginAdministrative` |51| OSGi annotations | DS R6 preferred; Felix SCR still supported on 6.5 LTS |52| Deploy via | Package Manager, Maven + Content Package Plugin |5354## Specialist Skills5556- [workflow-model-design/SKILL.md](./workflow-model-design/SKILL.md) — model structure, step types, variables, and model XML57- [workflow-development/SKILL.md](./workflow-development/SKILL.md) — WorkflowProcess, ParticipantStepChooser, metadata, and error handling58- [workflow-triggering/SKILL.md](./workflow-triggering/SKILL.md) — Timeline UI, Manage Publication, WorkflowSession API, HTTP API, and replication triggers59- [workflow-launchers/SKILL.md](./workflow-launchers/SKILL.md) — launcher configuration, JCR event binding, and OOTB overlay60- [workflow-debugging/SKILL.md](./workflow-debugging/SKILL.md) — stuck workflows, failed steps, JMX remediation, thread pools, and purge61- [workflow-triaging/SKILL.md](./workflow-triaging/SKILL.md) — symptom classification, JMX diagnostics, log patterns, Splunk queries, and data gathering62- [workflow-orchestrator/SKILL.md](./workflow-orchestrator/SKILL.md) — full lifecycle orchestration across all skills