شعار Workflow Triaging

Workflow Triaging

مؤسسة
adobe
workflow-triaging

Triage AEM Workflow issues on AEM as a Cloud Service 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 Cloud Service 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 أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها adobe على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Workflow Triaging في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/adobe/skills/tree/main/plugins/aem/cloud-service/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/cloud-service/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 — Cloud Service

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 as a Cloud Service (AEMaaCS).

Audience

AEMaaCS developers and operators (and the IDE LLM acting on their behalf) classifying workflow incidents across one or more environments — using environment ID + time-range + Cloud Manager Logs (or a log aggregator such as Splunk, if you forward AEMaaCS logs there), before drilling into one instance. Use this skill for cross-environment log mining and symptom classification; switch to workflow-debugging once the instance and root cause are identified.

Variant Scope

  • AEM as a Cloud Service only.
  • Not for AEM 6.5 LTS / AMS. If the target is 6.5 LTS, stop and use the 6.5-lts variant of this skill — Splunk index/sourcetype paths, the JMX surface, and several log signatures there do not apply as written on AEMaaCS.
  • Log access via Cloud Manager → Environments → Logs (download or streaming), or Splunk if logs are indexed there.
  • No JMX on AEMaaCS production. Workflow counts and queue metrics come from logs, Developer Console status producers, and the Sling Job Console. JMX MBeans exist on the local AEMaaCS SDK (localhost:4502) but must not be assumed available on cloud environments.
  • All remediation lands via Git + Cloud Manager pipeline. There is no Felix Console write access or Package Manager on production AEMaaCS environments.

Dependencies

  • workflow-debugging — once a symptom is classified and an environment/instance is identified, route here for the step-by-step runbook and remediation.
  • workflow-debugging/reference.md — canonical diagnostic tool pointers, log patterns, and external doc links for AEMaaCS.

When to use this skill

  • User asks: "Workflow errors on <env-id> for the past X hours", "Workflow activity on <env-id>", "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 Cloud Service (environment ID format: cm-p<programId>-e<environmentId>).

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

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. 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
Environment IDAEMaaCS format: cm-p<programId>-e<environmentId> (e.g. cm-p163724-e1759416).
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 sourceCloud Manager log download, log streaming, or Splunk index/sourcetype.

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


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

Logs on AEMaaCS are accessed via Cloud Manager → Environments → Logs (download or streaming). The primary file is error.log. When logs are indexed in Splunk (or any log aggregator), use these patterns.

ScenarioPrimary log pattern(s)Note
Step failedError executing workflow stepAdd instance ID or model name to narrow.
Process not foundgetProcess for '*' failedExtract process name; check OSGi Components for process.label mismatch.
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 lockReduce effective concurrency — on AEMaaCS, job queue settings are not directly tunable at runtime; address via code changes: split workflows, offload heavy steps asynchronously, or externalize processing. Raising concurrency makes lock contention worse.
PermissionTerminate failed / Resume failed / Suspend failed + verifyAccessOr AccessControlException. Check enforceWorkflowInitiatorPermissions.
Payload pathPathNotFoundException (workflow/payload)Payload 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. Fix step code; instance persisted for admin handling.
Thread pool fullRejectedExecutionExceptiondefault pool saturated with blockPolicy=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 (replace index/sourcetype/field names for your environment):

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

Note: Indexes and sourcetypes vary by organization; adapt queries accordingly.


Step 4: Developer Console and Sling Job diagnostics

On AEMaaCS production, use the Developer Console status producers and the Sling Jobs page for metrics not available from logs alone. JMX is not available on production AEMaaCS; these are the equivalents.

What to checkTool / URLPurpose
Workflow queue depth and failed jobsSling Jobs page: /system/console/slingeventQueued Jobs > 0 with Active Jobs = 0 → jobs not being picked up. Failed Jobs count per topic.
Workflow job topic statisticsSling Jobs page: topic com/adobe/granite/workflow/job/var/workflow/models/<modelName>High Failed Jobs / low Finished Jobs → process step throwing exceptions.
Sling default thread pool saturationThread Pools page: /system/console/status-slingthreadpoolsactive count = max pool size AND blockPolicy = ABORT → new scheduled tasks (including workflow timeout detection) are silently rejected.
Thread stack traceThread Dump: /system/console/status-jstack-threaddumpAll sling-default-* threads stuck on same stack → blocking culprit for auto-advance failure.
Sling Scheduler statusScheduler page: /system/console/status-slingschedulerConfirm ApacheSlingdefault uses ThreadPool: default. Note: com/adobe/granite/workflow/timeout/job is a Sling Job topic, not visible here — check the Sling Jobs page instead.
OSGi bundle / process registrationOSGi Components: /system/console/componentsConfirm WorkflowProcess component with matching process.label is Active.
Instance stateWorkflow Console: /libs/cq/workflow/admin/console/content/instances.htmlInstance status, current work item, history.

Developer Console access: AEM Cloud Service → Developer Console. Status producers (thread dumps, Sling Jobs, thread pools) are read-only on all tiers. On the local AEMaaCS SDK (localhost:4502/system/console/jmx) JMX MBeans are also available — use them for local development only; do not document JMX steps for production.

Safety: Never recommend remediation operations that bypass Git + Cloud Manager pipeline (e.g. Felix Console config changes) on cloud environments. All config changes go in ui.config and deploy via pipeline.


Step 5: Example triage prompts and responses

User promptTriage response
"Workflow errors on <env-id> for the past X hours"Classify as workflow_fails_or_shows_error / step_failed_retries_exhausted. Download or stream error.log from Cloud Manager; search for Error executing workflow step, Error processing workflow job, getProcess for … failed. Check Sling Jobs page for failed job count per topic. Route to runbook-workflow-fails-or-shows-error.
"Workflow activity on <env-id> for the past X hours"Clarify: counts (started/completed/failed) or list of errors? For errors, use log searches above. For counts on AEMaaCS, use Cloud Manager log aggregation or the Sling Jobs page — no JMX.
"Why did <workflow-or-step> fail? Show failure details."Need: environment ID, time range, instance ID if known. Search error.log for Error executing workflow step + model/step name or instance ID; return exception type, message, and stack. Route to runbook-workflow-fails-or-shows-error.
"Task not in Inbox"symptom_id: task_not_in_inbox. Route to runbook-task-not-in-inbox. Gather: instance ID, assignee, whether user is initiator/assignee. Check Inbox filters and enforceWorkitemAssigneePermissions via Developer Console OSGi config view.
"Workflow not starting"symptom_id: workflow_not_starting_launcher. Route to runbook-launcher-not-starting. Gather: model name, payload path, launcher config path; search logs for launcher errors.
"Workflow stuck / not progressing"symptom_id: workflow_stuck_not_progressing. Route to runbook-workflow-stuck. First: does the instance have a current work item? If no → stale. If yes, follow decision tree by step type.
"Auto-advance / timeout jobs not firing"symptom_id: workflow_auto_advance_failure. Route to runbook-job-throughput-and-concurrency. Check Developer Console thread dump for sling-default-* thread saturation; check Sling Jobs page for com/adobe/granite/workflow/timeout/job topic; search error.log for RejectedExecutionException.

Step 6: What logs and Developer Console can and cannot answer

Can answer (with AEM workflow logs from Cloud Manager + Developer Console on AEMaaCS):

  • Step failures: exception type, message, stack (by environment, time, model, step).
  • Process not registered: which process.label is missing (logs + Developer Console OSGi Components).
  • Stuck: step errors, getProcess failures, lock wait, payload/path errors.
  • Stale: Cannot archive workitem and transition errors in logs.
  • Queue metrics: Sling Jobs page (/system/console/slingevent) → queued, active, failed per topic.
  • Thread pool saturation: Thread Pools page (/system/console/status-slingthreadpools).
  • Throughput: lock wait, session refresh, JobHandler volume in logs.
  • Permission: Terminate/Resume/Suspend failed (verifyAccess), AccessControlException in logs.
  • Payload/launcher: PathNotFoundException, launcher config errors in logs.
  • Purge: Workflow purge … repository exception or invalid state in logs.

Cannot answer directly (AEMaaCS limitations vs 6.5 LTS):

What is neededAEMaaCS alternative
JMX countStaleWorkflowsDeploy a custom StaleWorkflowServlet (see workflow-debugging Step 6); call with ?dryRun=true.
JMX countRunningWorkflowsWorkflow Console UI, or a custom count servlet.
JMX retryFailedWorkItemsInbox UI → Retry (single); or a custom bulk-retry servlet (see workflow-debugging Step 6).
JMX purgeCompletedcom.adobe.granite.workflow.purge.Scheduler-<alias>.cfg.json deployed via pipeline.
JMX restartStaleWorkflowsCustom StaleWorkflowServlet with POST ...?dryRun=false.
Config status ZIPDeveloper Console status producers; or request from Adobe Support.
Console state (current work item)Workflow Console UI (/libs/cq/workflow/admin/...) or custom API.
Runtime process step code behaviorRequires code review + log correlation.
Pod restartAdobe Support ticket — Cloud Manager does not expose a customer-facing restart action.

Custom servlets are privileged — secure them before deploying. The StaleWorkflowServlet and any bulk-retry/count servlet above restart, replay, or enumerate workflows. Treat them as admin-only: authorize the caller against an operations group, use a service user (never an admin session), default to dryRun=true, scope by model, and keep the endpoint off publish. Follow the secure-write/deploy checklist in workflow-debugging Step 6 before shipping one.

Always pair log-based triage with Developer Console diagnostics and the appropriate runbook for actions (Inbox Retry, Purge Scheduler config, Cloud Manager pipeline deploy).


References (in repo)

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Workflow Triaging؟

Triage AEM Workflow issues on AEM as a Cloud Service 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 Cloud Service 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؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/adobe/skills/tree/main/plugins/aem/cloud-service/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 مجانية؟

نعم. نشرها adobe على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇