Logo: Workflow Launchers

Workflow Launchers

Organisatioun
adobe
workflow-launchers

Configure and deploy Workflow Launchers that automatically start workflows in response to JCR content changes on AEM 6.5 LTS

Add to TypingMind

Iwwersiicht

Editeuradobe
Repositoryskills
Skill-Nummworkflow-launchers
Stären
298
Forks
92
Matgeliwwert Dateien
2
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 2 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    adobe huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Workflow Launchers an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/adobe/skills/tree/main/plugins/aem/6.5-lts/skills/aem-workflow/workflow-launchers
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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-launchers .claude/skills/workflow-launchers
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Workflow Launchers an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Workflow Launchers automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Workflow Launchers net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Workflow Launchers Skill — AEM 6.5 LTS

Audience

Developers and integrators configuring cq:WorkflowLauncher nodes that auto-start workflows on JCR content events on AEM 6.5 LTS — DAM asset processing on upload, review workflows on page edit, custom auto-trigger patterns, or overlays that disable/replace OOTB launcher behavior.

Variant Scope

  • AEM 6.5 LTS only.
  • Custom launchers live at /conf/global/settings/workflow/launcher/config/ (preferred) or /apps/settings/workflow/launcher/config/. Legacy /etc/workflow/launcher/config/ still works but should be migrated.
  • Not for AEM as a Cloud Service. AEMaaCS uses Sling Job Topics for event distribution; the JCR-event-listener launcher pattern documented here does not apply directly. If the target is AEMaaCS, stop and use the cloud-service variant of this skill.

Dependencies

Launchers depend on three upstream concerns — verify all three before expecting a launcher to start a working instance:

  • workflow-model-design — the workflow referenced by the launcher's workflow= property must already be deployed and synced to /var/workflow/models/<name>.
  • workflow-development — every WorkflowProcess and ParticipantStepChooser referenced by that model must be registered as an OSGi service. Missing services produce Process not found on first instance execution.
  • workflow-triggering — launchers are one of several triggering mechanisms; if you need a different one (manual, programmatic, HTTP API), see workflow-triggering.

Prerequisites

  • AEM 6.5 LTS author instance reachable.
  • Workflow model deployed and visible at /var/workflow/models/<name> (verify via Tools → Workflow → Models).
  • For OOTB-launcher overlays: write access to /conf/global/ or /apps/settings/.
  • filter.xml covering the launcher path with mode="merge".

Required Permissions

  • Write access to /conf/global/settings/workflow/launcher/config/ (or /apps/settings/...) for deploying custom launchers via content package.
  • workflow-administrators (or equivalent) — enable/disable launchers in the Tools → Workflow → Launchers UI.
  • Read access to /var/workflow/models/ for runtime path lookup.

Common Scenarios

Use this table to route a developer's intent to the right launcher pattern:

Developer intentPattern
"Start a workflow when an asset is uploaded to DAM"NODE_ADDED on nt:file under /content/dam(/.*)?/jcr:content/renditions/original
"Trigger review when a page is edited under /content/my-site"NODE_MODIFIED on cq:PageContent under /content/my-site(/.*)?/jcr:content
"Disable an OOTB DAM launcher I don't need"Overlay at /conf/global/.../launcher/config/<same-name> with enabled={Boolean}false
"Replace OOTB launcher behavior with my own workflow"Overlay at /conf/global/.../launcher/config/<same-name> with new workflow=
"Auto-start on every replication event"Use a Replication Trigger instead — see workflow-triggering Section 5

When NOT to Use a Launcher

Launchers are event-based (JCR observation). Use a different mechanism when the trigger is not an event-driven content change:

Developer intentUse this instead
"Run my workflow nightly" or any time-based scheduleSling Scheduler + WorkflowSession API — see workflow-triggering programmatic-api.md
"Run this once for all 500 existing pages"A one-shot servlet or scheduled job that starts workflows in a capped loop
"When workflow X completes, run workflow Y"A WorkflowProcess step in workflow X that triggers Y, not a second launcher (avoids race conditions)
"Run when content is replicated to publish"Replication Trigger (workflow-triggering Section 5), not a launcher on /var/audit/...
"Run on events under /var/, /jcr:system, or anonymous-user events"These paths and the anonymous user are excluded by WorkflowLauncherListener — launchers cannot fire here

Core Concept: What Is a Workflow Launcher?

A Workflow Launcher (cq:WorkflowLauncher) is a JCR node that registers a JCR event listener. When a node event occurs at a path matching the launcher's glob pattern, node type, and conditions, the Granite Workflow Engine enqueues a workflow start.

The listener is managed by WorkflowLauncherListener (an OSGi service). It reads all active launcher configurations at startup and re-evaluates them when configurations change.

Architecture at a Glance

JCR Event (NODE_ADDED / NODE_MODIFIED / NODE_REMOVED)
    ↓
WorkflowLauncherListener (OSGi EventListener)
    ↓ matches: glob, nodetype, event type, conditions
Workflow Engine: enqueue WorkflowData
    ↓
Workflow Instance created at /var/workflow/instances/

Launcher Configuration Properties

PropertyTypeDescription
eventTypeLong1 = NODE_ADDED, 2 = NODE_MODIFIED, 4 = NODE_REMOVED, 8 = PROPERTY_ADDED, 16 = PROPERTY_CHANGED, 32 = PROPERTY_REMOVED
globStringGlob pattern matched against the event node path (e.g., /content/dam(/.*)?)
nodetypeStringJCR node type the event node must be (e.g., dam:AssetContent)
conditionsString[]Additional JCR property conditions on the event node
workflowStringRuntime path of the workflow model /var/workflow/models/<id>
enabledBooleanWhether the launcher is active
descriptionStringHuman-readable description
excludeListStringComma-separated list of entries that suppress the launcher for matching events. Two entry formats can be mixed: bare JCR property names (skip events whose only changed property matches, e.g. jcr:lastModified) and event-user-data:<value> (skip events tagged with that JCR observation userData, e.g. event-user-data:changedByWorkflowProcess).
runModesString[]Restrict to specific run modes — honoring is unreliable on 6.5 LTS; prefer config.author/ packaging
transientBooleanRun the launched workflow as transient — no /var/workflow/instances/ node unless persistence is forced. Use for high-volume launchers
noProcessBooleanMatch events but do not start the workflow — silence a launcher without removing it

Launcher Storage Paths on 6.5 LTS

On AEM 6.5 LTS, launcher configurations can live at:

PathNotes
/libs/settings/workflow/launcher/config/OOTB launchers — do not edit directly
/conf/global/settings/workflow/launcher/config/Recommended for new custom launchers
/apps/settings/workflow/launcher/config/Alternative overlay location
/etc/workflow/launcher/config/Legacy path (AEM 6.0–6.2); still supported but migrate away

Resolution order: /conf/global → /apps → /libs

Deploying a Custom Launcher on 6.5 LTS

Maven project location:

ui.content/src/main/content/jcr_root/conf/global/settings/workflow/launcher/config/
    my-custom-launcher/
        .content.xml

Or for overlay-based approach under /apps:

ui.apps/src/main/content/jcr_root/apps/settings/workflow/launcher/config/
    my-custom-launcher/
        .content.xml

Node structure (.content.xml):

xml
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root
    xmlns:jcr="http://www.jcp.org/jcr/1.0"
    xmlns:cq="http://www.day.com/jcr/cq/1.0"
    jcr:primaryType="cq:WorkflowLauncher"
    eventType="{Long}1"
    glob="/content/dam(/.*)?/jcr:content/renditions/original"
    nodetype="nt:file"
    workflow="/var/workflow/models/dam/update_asset"
    enabled="{Boolean}true"
    description="Start DAM update workflow on new original rendition upload"/>
<!-- For author-only restriction, package this .content.xml under config.author/.
     The runModes property on cq:WorkflowLauncher is unreliable on 6.5 LTS. -->

Filter in filter.xml:

xml
<filter root="/conf/global/settings/workflow/launcher/config/my-custom-launcher"/>

Overlaying an OOTB Launcher

To disable or modify an OOTB launcher:

  1. Copy the node from /libs/settings/workflow/launcher/config/<launcher-name> to /conf/global/settings/workflow/launcher/config/<launcher-name> (or /apps/settings/...)
  2. Modify the property (e.g., enabled="{Boolean}false")
  3. Deploy via Package Manager or Maven

Common OOTB Launchers (6.5 LTS)

Verified against /libs/settings/workflow/launcher/config/ on AEM 6.5 LTS. Inspect any launcher in CRXDE Lite or via Tools → Workflow → Launchers for the full property set.

LaunchereventTypenodetypeglobworkflow
update_asset_create1 (NODE_ADDED)nt:file/content/dam(/((?!/subassets).)*/)renditions/original/var/workflow/models/dam/update_asset
update_asset_mod16 (PROPERTY_CHANGED)nt:file/content/dam(/((?!/subassets).)*/)renditions/original/var/workflow/models/dam/update_asset
dam_xmp_writeback16 (PROPERTY_CHANGED)nt:unstructured/content/dam(/.*)/jcr:content/metadata/var/workflow/models/dam-xmp-writeback

Event Type Combinations

To listen for both ADD and MODIFY, combine event types:

xml
eventType="{Long}3"  <!-- 1 (ADD) + 2 (MODIFY) = 3 -->

Where-Clause Conditions

xml
conditions="[property=cq:type,value=publicationevent,type=STRING]"

Condition format: property=<name>,value=<value>,type=<JCR_TYPE> (type is optional, defaults to STRING).

Architecture Considerations

Launchers are the surface where workflow load is automated. A single bad glob can flood the workflow job queue with one content edit. Apply these before deploying any launcher:

  • Narrow your glob, node type, and conditions. A broad glob (/content(/.*)?) paired with eventType=2 (NODE_MODIFIED) fires on every property change under /content. Always pair the glob with a specific nodetype (cq:PageContent, dam:AssetContent) and conditions that match only the events you care about.
  • Watch multi-event amplification. A single DAM asset upload fires multiple events — the asset node, each rendition, the metadata node. Without narrowing, one upload starts N workflows. Pin the glob to a specific descendant (e.g., /jcr:content/renditions/original) when you only want one trigger per upload.
  • Avoid infinite loops. A workflow whose process step writes to a path the launcher watches will re-trigger itself. Default strategy: tag the JCR Session with setUserData("changedByWorkflowProcess") before the write so WorkflowLauncherListener ignores the resulting events. The session parameter on WorkflowProcess.execute() is a WorkflowSession, not a JCR Session — adapt it first: javax.jcr.Session jcrSession = session.adaptTo(javax.jcr.Session.class); jcrSession.getWorkspace().getObservationManager().setUserData("changedByWorkflowProcess");. If you write through a service-user ResourceResolver instead, tag that resolver's underlying Session — it is a different Session instance and the flag does not propagate. This is the most robust pattern (works across model changes, no static config to keep in sync). Use the launcher's excludeList only when you can statically name every model that might re-trigger; use a JCR property flag when the workflow writes to a different node than the launcher watches. See condition-patterns.md for code.
  • Use transient workflows for high-volume launchers. Set transient="true" on the workflow model (see workflow-model-design Architecture Considerations). Persistent workflows in this regime bloat /var/workflow/instances quickly.
  • Disable broad launchers in lower environments. A broad-match OOTB or custom launcher active in dev/stage with the same content as prod can fire on every content sync, masking real prod-vs-dev behavior. Either disable in lower envs (enabled={Boolean}false overlay), package the launcher under config.author/ for run-mode restriction, or restrict with conditions tied to a prod-only marker.
  • Stack mechanisms cautiously. Pairing a Workflow Launcher with a Replication Trigger on the same content fires two workflows per content change. Pick one mechanism per content event.

Debugging Launchers (6.5 LTS)

Local development only. The curl -u admin:admin example below targets a local author at localhost:4502 with the default admin password. Never run it against a shared, stage, or production instance, and never with default admin:admin credentials outside an isolated dev box.

  • Tools → Workflow → Launchers UI — lists all active launchers, interactive enable/disable
  • Check /conf/global/settings/workflow/launcher/config/ and /apps/settings/workflow/launcher/config/ in CRXDE Lite
  • Felix Web Console → OSGi → WorkflowLauncherListener service
  • Check /var/workflow/launcher/ for active event registrations
  • Run curl -u admin:admin http://localhost:4502/etc/workflow/launcher.json to list all

Verifying the Launcher

After deploying a launcher, confirm it's loaded and firing:

SurfaceHow
Author UITools → Workflow → Launchers — your launcher should appear with the Enabled flag set
CRXDEConfirm the node exists at /conf/global/settings/workflow/launcher/config/<name> (or /apps/) with all properties intact
Trigger testManually create the event (upload a file to the watched path; edit a page) and check Tools → Workflow → Instances for a new instance
LogsEnable DEBUG for com.adobe.granite.workflow.core.launcher in the Felix console — every launched instance produces a log line

When the launcher doesn't fire

If the event happens but no instance appears:

  • Most common: the glob doesn't match the actual event node path. The event for a DAM asset upload fires on the dam:AssetContent node (/content/dam/.../jcr:content), not on dam:Asset itself. Inspect the event node path in CRXDE before tuning the glob.
  • Node type mismatch: the nodetype= doesn't match the event node's primary type. Confirm in CRXDE.
  • Path resolution: a same-named launcher node at higher-priority /conf/global may shadow the one you deployed at /apps/. Check the resolution order in Launcher Storage Paths above.
  • Globally excluded path: events under specific paths are ignored regardless of launcher config — see condition-patterns.md.

If the launcher fires (you see the log line) but the workflow doesn't progress, the issue is downstream — most commonly a referenced WorkflowProcess is not registered (see workflow-development Dependencies). For full diagnosis: workflow-debugging.

References in This Skill

ReferenceWhat It Covers
references/workflow-launchers/launcher-config-reference.mdFull property spec and XML templates
references/workflow-launchers/condition-patterns.mdCommon condition patterns, glob syntax, event type codes
../workflow-orchestrator/references/workflow-foundation/architecture-overview.mdGranite Workflow Engine overview (canonical)
../workflow-orchestrator/references/workflow-foundation/65-lts-guardrails.md6.5 LTS constraints and legacy path guidance (canonical)
../workflow-orchestrator/references/workflow-foundation/jcr-paths-reference.mdWhere launchers live in the JCR (canonical)

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Workflow Launchers?

Configure and deploy Workflow Launchers that automatically start workflows in response to JCR content changes on AEM 6.5 LTS

Firwat Workflow Launchers op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Workflow Launchers besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Workflow Launchers an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/adobe/skills/tree/main/plugins/aem/6.5-lts/skills/aem-workflow/workflow-launchers an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Workflow Launchers benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Workflow Launchers benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Workflow Launchers domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Workflow Launchers gratis?

Jo. adobe huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇