Логотип Workflow Triaging

Workflow Triaging

Организация
adobe
workflow-triaging

Triage AEM Workflow issues on AEM 6.5 LTS and AMS by classifying symptoms, gathering the right logs and metrics, and mapping to runbooks or Splunk searches. Use when the user asks for workflow activity/errors on a 6.5 host, needs to classify a Jira ticket, or wants to know what to collect for workflow debugging.

Обзор

Издательadobe
Репозиторийskills
Название навыкаworkflow-triaging
Звёзды
298
Форки
92
Встроенные файлы
Только инструкции
ЛицензияApache-2.0
Ссылки
  • Инструкции в формате Markdown

    Файл SKILL.md, который модель загружает по необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Опубликовано на GitHub: adobe. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Workflow Triaging в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/adobe/skills/tree/main/plugins/aem/6.5-lts/skills/aem-workflow/workflow-triaging
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Новый навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/adobe/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/plugins/aem/6.5-lts/skills/aem-workflow/workflow-triaging .claude/skills/workflow-triaging
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Workflow Triaging в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Workflow Triaging, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Workflow Triaging не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими API-ключами.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

AEM Workflow Triaging — 6.5 LTS / AMS

Classify workflow issues, determine what logs and data to gather, and map to the correct runbook or log search. Optimized for production support on AEM 6.5 LTS and Adobe Managed Services (AMS).

Audience

AEM 6.5 LTS / AMS operators and developers (and the IDE LLM acting on their behalf) classifying workflow incidents across one or more hosts — using host + time-range + logs (direct filesystem, AMS log access, or Splunk) and read-only JMX metrics, before drilling into a single instance. Use this skill for cross-host log mining and symptom classification; switch to workflow-debugging once the instance and root cause are identified.

Variant Scope

  • This skill is 6.5-lts-only (includes AMS).
  • Log access via direct filesystem (crx-quickstart/logs/error.log), AMS log access, or Splunk (if indexed).
  • JMX available via Felix Console (/system/console/jmx) or a JMX client for workflow counts, queue metrics, and remediation.
  • Not for AEM as a Cloud Service. If the target is AEMaaCS, stop and use the cloud-service variant of this skill — JMX is not available on cloud production, logs are accessed via Cloud Manager (not the filesystem), and remediation lands through Git + pipeline rather than Felix Console. Several signatures and diagnostic surfaces here do not apply as written on AEMaaCS.

Dependencies

  • workflow-debugging — once a symptom is classified and a host/instance is identified, route here for the step-by-step runbook and remediation.
  • workflow-debugging/reference.md — diagnostic tool pointers, JMX/config locations, log patterns, and external doc links for 6.5 LTS / AMS.

When to use this skill

  • User asks: "Workflow errors on <host> for the past X hours", "Workflow activity on <host>", "Why did workflow X fail?", "What should I collect to debug this workflow ticket?"
  • User needs: Symptom classification, log patterns to search, Splunk queries, or required inputs for a runbook.
  • Context: AEM 6.5 LTS / AMS (author/publish hostname format).

Step 1: Classify symptom (symptom_id)

Map the user's description to a symptom_id and runbook.

User says / observessymptom_idRunbook
Workflow not moving to next step; stuck in Runningworkflow_stuck_not_progressingrunbook-workflow-stuck.md
Task should be in Inbox but is not visibletask_not_in_inboxrunbook-task-not-in-inbox.md
Workflow should start automatically but no instance createdworkflow_not_starting_launcherrunbook-launcher-not-starting.md
Workflow in Failed state or step shows errorworkflow_fails_or_shows_errorrunbook-workflow-fails-or-shows-error.md
Step failed after retries; failure item in Inboxstep_failed_retries_exhaustedrunbook-failed-work-items.md
Instance Running but no current work item (inconsistent)stale_workflow_no_work_itemrunbook-stale-workflows.md
Too many instances; slow queries; disk/repo bloatrepository_bloat_too_many_instancesrunbook-purge-and-cleanup.md
User cannot see work item or complete/delegate/returnuser_cannot_see_or_complete_itemrunbook-inbox-and-permissions.md
Cannot delete workflow model (running instances)cannot_delete_modelrunbook-model-delete-and-update.md
Jobs queued a long time; slow completion; queue depth highslow_throughput_queue_backlogrunbook-job-throughput-and-concurrency.md
Auto-advance / timeout jobs not firing; participant step stuck past its configured timeoutworkflow_auto_advance_failurerunbook-job-throughput-and-concurrency.md
New or changed workflow not starting or step not executingworkflow_setup_validationrunbook-validate-workflow-setup.md

Each runbook-*.md above is a symptom section in the workflow-debugging skill, not a separate file to open. That skill's Step 1 maps every symptom_id to a first action, and its numbered steps are the runbook body. Classify here, then hand off there.

WorkItem vs. TaskManager task — do not confuse these. Most workflow Inbox items are workflow work items (WorkItem), created by Participant steps and managed by the workflow engine; they are stored under /var/workflow/instances, not in TaskManager. TaskManager (/var/taskmanagement/tasks) only holds tasks created explicitly via the Task API — used by Projects, Assets tasks, and custom integrations. Both paths are browsable in CRXDE Lite. For task_not_in_inbox and user_cannot_see_or_complete_item symptoms on a workflow: investigate the Participant step assignee configuration, Inbox filters, and workflow permissions — not TaskManager storage. Diagnosing the wrong backend wastes significant time.


Step 2: Required inputs for triage

Before suggesting a runbook or Splunk search, try to obtain:

InputPurpose
Host / instanceAuthor/publish hostname (e.g. an AMS author/publish host, or on-prem hostname).
Time rangee.g. "past 4 hours", "past 10 hours" – for log/Splunk scope.
Workflow model or step namee.g. "Dynamic Media Reupload", "DAM Update Asset", "testmodel".
Instance ID (if known)From Workflow Console URL or payload; ties logs to one instance.
Payload path (if known)e.g. /content/dam/...; for path-related errors.
Log sourceSplunk index/sourcetype, direct filesystem error.log, or AMS log request.

If the user only provides host + time, respond with the generic workflow error searches and note that narrowing by model/instance ID will improve accuracy.


Step 3: Log patterns and Splunk (what to search)

Logs on 6.5 / AMS are accessible via direct filesystem (crx-quickstart/logs/error.log), AMS log access, or Splunk (if indexed).

ScenarioPrimary log pattern(s)Splunk hint
Step failedError executing workflow stepAdd instance ID or model name to narrow.
Process not foundgetProcess for '*' failedExtract process name for OSGi check in Felix Console (process.label).
Stuck at Process stepSame as step failed + getProcessCombine with payload path.
Stale workflowCannot archive workitemCorrelate time with instance ID.
Lock / throughputrefreshing the session since we had to wait for a lockTimechart by host. Real lever on 6.5 is queue.maxparallel on the Granite Workflow Queue — see workflow-debugging; reduce concurrent writes to the same path.
PermissionTerminate failed / Resume failed / Suspend failed + verifyAccessOr AccessControlException. Check enforceWorkflowInitiatorPermissions.
Payload pathPathNotFoundException + workflow/payloadPayload deleted, or launcher config path missing.
Launcher not startingError adding launcher config / Error retrieving launcher config entriesPath: /conf/global/settings/workflow/launcher/config.
Purge failureWorkflow purge '*' :Filter by repository exception / invalid state.
Transient workflow retries exhaustedretrys exceeded - remove isTransientProcess step kept throwing after cq.workflow.job.retry retries; instance persisted for admin handling.
Thread pool fullRejectedExecutionExceptiondefault pool saturated with block policy ABORT → timeout/auto-advance jobs dropped.
Operation on finished instanceWorkflow is already finishedCheck logic that calls terminate/resume on a completed or aborted instance.

Example Splunk searches — <your_aem_index> is a placeholder; substitute your organization's AEM log index:

  • All workflow step errors (last 24h): index=<your_aem_index> "Error executing workflow step" | table _time host message | sort - _time
  • Process not registered: index=<your_aem_index> "getProcess for" "failed" | table _time host message
  • By workflow model or instance: index=<your_aem_index> ("Error executing workflow step" OR WorkflowException) (message=*<modelName>* OR message=*<instanceId>*) | sort - _time
  • Lock contention: index=<your_aem_index> "refreshing the session since we had to wait for a lock" | table _time host message
  • Thread pool exhaustion (auto-advance impact): index=<your_aem_index> "RejectedExecutionException" | table _time host message

Note: Index names, sourcetypes, and field names are environment-specific — they depend on how your AEM logs are onboarded to Splunk. There is no fixed index; confirm the correct one with whoever owns your Splunk onboarding before running these. Narrow by host, time range, model, and instance ID — both for accuracy and to avoid over-broad data exposure.


Step 4: JMX-based diagnostics

On 6.5 / AMS, JMX exposes metrics not available from logs alone, plus remediation operations. All workflow maintenance and diagnostic operations live on one MBean, com.adobe.granite.workflow:type=Maintenance (via /system/console/jmx); a second MBean, com.adobe.granite.workflow:type=Statistics, exposes time-series execution metrics for trend analysis.

Targeting the right MBean: match the object name com.adobe.granite.workflow:type=Maintenance exactly (addressed URL-encoded on the JMX console as .../jmx/com.adobe.granite.workflow:type%3DMaintenance). A "workflow" filter over the JMX registry also returns several com.adobe.granite.workflow.core.* event-listener MBeans — those are not the maintenance surface, so select by the full type=Maintenance object name, not a name substring. The entries in the tables below are operations (methods to invoke, each taking an optional model string), not readable attributes.

Triage is diagnostic-first — classify with read-only operations:

What to checkJMX operation (read-only)Purpose
Stale workflow countcountStaleWorkflows(model)Detect stale instances without a current work item
Running workflow countcountRunningWorkflows(model)Count active instances for a model
Failed workflow countreturnFailedWorkflowCount(model)Count failed instances (overall or per model)
Queue depthreturnWorkflowQueueInfoCheck Granite Workflow Queue backlog
Job statisticsreturnSystemJobInfoSling Job overall stats
Job topic inforeturnWorkflowJobTopicInfoPer-topic queued/failed/finished counts
Purge previewpurgeCompleted(model, days, dryRun=true)Count purgeable instances without deleting

Destructive operations — do NOT run as part of triage. The operations below change or delete production workflow data. They belong in a deliberate remediation step (see workflow-debugging), not in classification:

OperationEffect
retryFailedWorkItems(dryRun, model)Replays failed work items
restartStaleWorkflows(model, dryRun)Restarts stale instances
purgeCompleted / purgeActive(model, days, dryRun)Deletes completed/active instances
terminateFailedInstances(restart, dryRun, model)Terminates (optionally restarts) failed instances

Always run dryRun=true first, confirm the count and scope, scope by model where possible, and only execute after the root cause is fixed and with change-control approval.


Step 5: Example triage prompts and responses

User promptTriage response
"Workflow errors on <host> for the past X hours"Classify as workflow_fails_or_shows_error / step_failed_retries_exhausted. Search error.log or Splunk for "Error executing workflow step", "Error processing workflow job", "getProcess for … failed". Also check JMX returnSystemJobInfo / returnFailedWorkflowCount for failed counts. Route to workflow-debugging (symptom: workflow_fails_or_shows_error).
"Workflow activity on <host> for the past X hours"Clarify: "activity" = counts or errors? For counts, use JMX countRunningWorkflows, returnSystemJobInfo (read-only). For errors, use log searches.
"Why did <workflow-or-step> fail? Show failure details."Need: host, time range, and if possible instance ID. Search error.log for "Error executing workflow step" + model/step name or instance ID. Also check Felix Console → OSGi Components for process.label. Route to workflow-debugging (workflow_fails_or_shows_error).
"Task not in Inbox"symptom_id: task_not_in_inbox. Confirm it is a workflow work item (/var/workflow/instances), not a TaskManager task. Gather: instance ID, assignee; check Inbox filters and granite.workflow.enforceWorkitemAssigneePermissions in Felix Console. Route to workflow-debugging.
"Workflow not starting"symptom_id: workflow_not_starting_launcher. Search logs for launcher errors; check launcher config under /conf/global/settings/workflow/launcher/config. Route to workflow-debugging.
"Workflow stuck / not progressing"symptom_id: workflow_stuck_not_progressing. Use JMX countStaleWorkflows to check for stale instances. If not stale, follow the decision tree by step type. Route to workflow-debugging.
"Auto-advance / timeout jobs not firing"symptom_id: workflow_auto_advance_failure. Check the Sling Thread Pools page for default pool saturation and block policy ABORT; check the Sling Jobs page for the com/adobe/granite/workflow/timeout/job topic; search error.log for RejectedExecutionException. Route to workflow-debugging (job-throughput-and-concurrency).

Step 6: What logs and JMX can and cannot answer

Can answer (logs + JMX on 6.5 / AMS):

  • Step failures: exception type, message, stack (by host, time, model, step).
  • Process not registered: which process.label is missing (logs + Felix Console).
  • Stuck: step errors, getProcess failures, lock wait, payload/path errors.
  • Stale: JMX countStaleWorkflows + "Cannot archive workitem" in logs.
  • Queue metrics: JMX returnWorkflowQueueInfo, returnSystemJobInfo, returnWorkflowJobTopicInfo.
  • Running / failed instance counts: JMX countRunningWorkflows, returnFailedWorkflowCount.
  • Throughput: lock wait, session refresh, JobHandler volume.
  • Permission: Terminate/Resume/Suspend failed, AccessControlException.
  • Payload/launcher: PathNotFoundException, launcher config errors.
  • Purge preview: JMX purgeCompleted(dryRun=true) + "Workflow purge …" in logs.
  • Thread pool state: Configuration status ZIP → 039_Sling_Thread_Pools.txt, or the Sling Thread Pools status page.
  • Config state: Felix Console or config status ZIP → 003_Configurations.txt.

Cannot answer directly:

  • Console state (e.g. "is there a current work item?"). Use the Workflow Console UI (/libs/cq/workflow/admin/console/content/instances.html).
  • Runtime process step code behavior. Requires code review + log correlation.

Always pair log-based triage with read-only JMX diagnostics and the appropriate runbook in workflow-debugging.


Safety & security guardrails

Triage runs against production. Keep it safe:

  • Diagnose read-only; never mutate during triage. Classification and data-gathering use read-only JMX operations, log reads, and console status pages. The mutating operations in Step 4 (retryFailedWorkItems, restartStaleWorkflows, purgeCompleted, purgeActive, terminateFailedInstances) change or delete production workflow data — run them only as a deliberate remediation step (see workflow-debugging): dryRun=true first, scoped by model, after the root cause is fixed, and with change-control approval.
  • Least privilege. Felix Console and JMX are admin-level surfaces. Restrict them to operators. Keep /system/console off public networks — on AMS/on-prem it must sit behind the Dispatcher deny rules and admin authentication, never reachable from publish or the internet.
  • No secrets in queries or shared logs. Do not embed credentials, tokens, or API keys in Splunk searches or in anything pasted into a ticket; redact them if present.
  • Treat logs and thread dumps as sensitive. error.log, configuration status ZIPs, and thread dumps can contain payload paths, user IDs, and application data. Share only with authorized parties and redact customer PII before attaching to a ticket.
  • Scope every search. Narrow Splunk/log searches by host, time range, model, and instance ID — for accuracy and to minimize data exposure.

References (in repo)

Часто задаваемые вопросы

Что делает навык ИИ Workflow Triaging?

Triage AEM Workflow issues on AEM 6.5 LTS and AMS by classifying symptoms, gathering the right logs and metrics, and mapping to runbooks or Splunk searches. Use when the user asks for workflow activity/errors on a 6.5 host, needs to classify a Jira ticket, or wants to know what to collect for workflow debugging.

Зачем использовать Workflow Triaging в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Workflow Triaging — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Workflow Triaging в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/adobe/skills/tree/main/plugins/aem/6.5-lts/skills/aem-workflow/workflow-triaging. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Workflow Triaging?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Workflow Triaging?

С любым количеством. Если модель поддерживает навыки, вы можете использовать с ней Workflow Triaging: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama и другие — всё в TypingMind с вашими собственными ключами API.

Бесплатен ли навык ИИ Workflow Triaging?

Да. Навык опубликован на GitHub автором adobe по лицензии Apache-2.0. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это многоразовый набор инструкций, который объясняет модели ИИ, как выполнять конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты для вызова — код, который где-то выполняется и возвращает результат. Навык ИИ вместо этого даёт модели знания и порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇