workflow-model-design
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "workflow-model-design" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-9fc56c22478e5414c6232f8cb5bf20aa169867830803eae160a34465ce7c8543. Verify the upstream source and version against https://github.com/adobe/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Design and create workflow models on AEM as a Cloud Service. Applicable to creating models via the workflow model editor or content package XML, defining step types (PROCESS, PARTICIPANT, DYNAMIC_PARTICIPANT, OR_SPLIT, AND_SPLIT), configuring step properties, declaring workflow variables, and deploying models through Cloud Manager pipelines.
Introduction source: third_party · adobe · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Design and create AEM Workflow models on AEM as a Cloud Service. Use when creating workflow models via the Workflow Model Editor or content package XML, defining step types (PROCESS, PARTICIPANT, DYNAMIC_PARTICIPANT, OR_SPLIT, AND_SPLIT), configuring step properties, declaring workflow variables, and deploying models through the Cloud Manager pipeline.
- Audience
- Developers (and the IDE LLM acting on their behalf) authoring AEM workflow models for AEM as a Cloud Service — designing the step graph, splits, joins, transitions, and the model XML that ships through the Cloud Manager pipeline.
- Inputs and outputs
- Generate only these files for a `/conf`-based model:** | File | Node type | Purpose | |---|---|---| | `jcr_root/conf/.../models/<id>/.content.xml` | `cq:Page` | Model root page | | `jcr_root/conf/.../models/<id>/jcr:content/.content.xml` | `cq:PageContent` | Title, template, resourceType | | `jcr_root/conf/.../models/<id>/jcr:content/flow/.content.xml` | `nt:unstructured` + parsys | Step nodes | Never generate — hard stops:** ❌ **Any file under `jcr_root/var/`** — AEM Sync writes `/var/workflow/models/` automatically after you click Sync in the editor. Never ship `/var` content in a content package. ❌ **A `model/` directory inside `jcr:content/` at the `/conf` path** — a `cq:WorkflowModel` n
- Testing
- Not tested
Browse files
Frontmatter
name: workflow-model-design
description: Design and create AEM Workflow models on AEM as a Cloud Service. Use when creating workflow models via the Workflow Model Editor or content package XML, defining step types (PROCESS, PARTICIPANT, DYNAMIC_PARTICIPANT, OR_SPLIT, AND_SPLIT), configuring step properties, declaring workflow variables, and deploying models through the Cloud Manager pipeline.
license: Apache-2.0Workflow Model Design (Cloud Service)
Design workflow models for AEM as a Cloud Service: step structure, transitions, OR/AND splits, variables, and model XML deployment.
Audience
Developers (and the IDE LLM acting on their behalf) authoring AEM workflow models for AEM as a Cloud Service — designing the step graph, splits, joins, transitions, and the model XML that ships through the Cloud Manager pipeline.
Variant Scope
- AEM as a Cloud Service only.
- Models are stored at
/conf/global/settings/workflow/models/. Do not write to/libsor/etc—/libsis immutable and/etc/workflow/models/is the legacy 6.5 path, deprecated on AEMaaCS. - Deploy via Cloud Manager pipeline; design-time → runtime sync is required after deploy (Tools → Workflow → Models → Sync).
- Not for AEM 6.5 LTS. If the target is 6.5 LTS, stop and use the 6.5-lts variant of this skill —
/etc/workflow/models/legacy auto-deploy andmvn install -PautoInstallPackagedeploys documented there do not apply on AEMaaCS.
Dependencies
workflow-foundationreferences (architecture, API, JCR paths, Cloud Service guardrails) — load alongside.workflow-development— every PROCESS step in the model needs aWorkflowProcess(orprocess.label) registered as an OSGi service. Model XML and Java code are co-authored.workflow-launchers— when a launcher routes content into the model, see launcher-side guardrails.
Workflow
Model Design Progress
- [ ] 1) Clarify the workflow purpose: what triggers it, what steps are needed, who approves
- [ ] 2) Map out steps: PROCESS (auto), PARTICIPANT (human), OR_SPLIT (decision), AND_SPLIT (parallel)
- [ ] 3) Decide payload type: single JCR_PATH page/asset, or multi-page via workflow package
- [ ] 4) Identify workflow variables needed for inter-step data passing
- [ ] 5) Design model XML: flow/parsys layer with correct nt:unstructured step components and sling:resourceType per step
- [ ] 6) Add filter.xml entry with mode="merge" for the model path
- [ ] 7) Deploy via Cloud Manager pipeline
- [ ] 8) Open the model in Tools → Workflow → Models → Edit → Sync; verify the model appears in /var/workflow/models/ and all steps render on the editor canvas
- [ ] 9) Start a test workflow instance; confirm it runs to completion
Output Contract
Generate only these files for a /conf-based model:
| File | Node type | Purpose |
|---|---|---|
jcr_root/conf/.../models/<id>/.content.xml |
cq:Page |
Model root page |
jcr_root/conf/.../models/<id>/jcr:content/.content.xml |
cq:PageContent |
Title, template, resourceType |
jcr_root/conf/.../models/<id>/jcr:content/flow/.content.xml |
nt:unstructured + parsys |
Step nodes |
Never generate — hard stops:
- ❌ Any file under
jcr_root/var/— AEM Sync writes/var/workflow/models/automatically after you click Sync in the editor. Never ship/varcontent in a content package. - ❌ A
model/directory insidejcr:content/at the/confpath — acq:WorkflowModelnode with<nodes>and<transitions>is the runtime format. It must never appear under/conf. The Workflow Model Editor cannot open a model that contains it. - ❌
<filter root="/var/workflow/models/..."/>in filter.xml —/varis never a package filter target. The only filter entry needed is the/confpath. - ❌ Any path under
/etc/workflow/models/— deprecated and unsupported on AEM as a Cloud Service.
filter.xml — correct entry:
<filter root="/conf/global/settings/workflow/models/my-workflow" mode="merge"/>
Node Types Quick Reference
| Type | Purpose | Key metaData property |
|---|---|---|
START |
Entry point | — |
END |
Terminal | — |
PROCESS |
Auto-executed Java step | PROCESS = FQCN or process.label |
PARTICIPANT |
Human task (static assignee) | PARTICIPANT = principal name |
DYNAMIC_PARTICIPANT |
Human task (runtime assignee) | DYNAMIC_PARTICIPANT = chooser.label |
OR_SPLIT |
One branch selected by rule | Transition rule = ECMAScript (Rhino) |
AND_SPLIT |
All branches execute in parallel | — |
AND_JOIN |
Wait for all parallel branches | — |
EXTERNAL_PROCESS |
Poll an external system | EXTERNAL_PROCESS = FQCN |
Default Path Rule
Unless the user explicitly names a specific AEM site, always generate models at /conf/global/settings/workflow/models/<id>. Do not infer a site-scoped path (e.g., /conf/wknd/…) from conversational context such as "for the WKND site" or "install on the WKND instance." Workflow models are not site-scoped by default — they are global resources. Only use /conf/<site>/settings/workflow/models/<id> when the user explicitly states that the model should be scoped to a specific site.
Cloud Service Deployment
- Place model XML at:
conf/global/settings/workflow/models/<name>/.content.xml(theflow/parsysdesign-time format — notjcr:content/model/) - Add to
ui.contentpackage withfilter.xmlentrymode="merge" - Deploy via Cloud Manager pipeline
- Open Tools → Workflow → Models → select model → Edit → Sync
- Verify the model appears in
/var/workflow/models/<name>via CRX/DE and all steps render on the canvas
Design-time vs runtime paths: /conf/global/settings/workflow/models/ stores the editor's
flow/parsys format — this is what you author and deploy. Steps are nt:unstructured nodes with
sling:resourceType; no cq:WorkflowNode or cq:WorkflowTransition nodes appear here.
/var/workflow/models/ holds the runtime copy generated by Sync — it uses cq:WorkflowModel,
cq:WorkflowNode, and cq:WorkflowTransition. Never write cq:WorkflowModel nodes to the /conf
path, and never hand-author /var content — AEM manages the runtime layer entirely via Sync.
References
- step-types-catalog.md — complete step type reference with XML snippets
- model-xml-reference.md — full model XML structure and property reference
- model-design-patterns.md — common design patterns: linear, decision, parallel, loop-back
- architecture-overview.md
- jcr-paths-reference.md
- cloud-service-guardrails.md
Version history
-
plugin/stardust/v0.43.4
GitHub ↗
Original release notes
## [0.43.4](https://github.com/adobe/skills/compare/plugin/stardust/v0.43.3...plugin/stardust/v0.43.4) (2026-11-21)
-
rollout-v1.3.1
GitHub ↗
Original release notes
## [1.3.1](https://github.com/adobe/skills/compare/rollout-v1.3.0...rollout-v1.3.1) (2026-11-21)
-
plugin/aem-edge-delivery-services/v1.3.5
GitHub ↗
Original release notes
## [1.3.5](https://github.com/adobe/skills/compare/plugin/aem-edge-delivery-services/v1.3.4...plugin/aem-edge-delivery-services/v1.3.5) (2026-11-20) ### Bug Fixes * **deps:** update dependency playwright to v1.65.1 ([#777](https://github.com/adobe/skills/issues/777)) ([c6c5233](https://github.com/adobe/skills/commit/c6c5233558a28bb8fde8ede408c35ac47c81cf8e)) * **deps:** update dependency pnpm to v12.21.0 ([#778](https://github.com/adobe/skills/issues/778)) ([a9e7de9](https://github.com/adobe/skills/commit/a9e7de976a969259a1d30ef8d24a4ef699d6d49e))
-
migrate-header-v1.0.4
GitHub ↗
Original release notes
## [1.0.4](https://github.com/adobe/skills/compare/migrate-header-v1.0.3...migrate-header-v1.0.4) (2026-11-20) ### Bug Fixes * **deps:** update dependency pnpm to v12.21.0 ([#778](https://github.com/adobe/skills/issues/778)) ([a9e7de9](https://github.com/adobe/skills/commit/a9e7de976a969259a1d30ef8d24a4ef699d6d49e))
-
personalize-v1.0.1
GitHub ↗
Original release notes
## [1.0.1](https://github.com/adobe/skills/compare/personalize-v1.0.0...personalize-v1.0.1) (2026-11-20) ### Bug Fixes * **deps:** update dependency playwright to v1.65.1 ([#777](https://github.com/adobe/skills/issues/777)) ([c6c5233](https://github.com/adobe/skills/commit/c6c5233558a28bb8fde8ede408c35ac47c81cf8e))
Only the five most recent versions are shown. View full version history at the source ↗
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- AEM Cloud Service工作流模型设计的高价值专业工具
- 直接解决企业内容管理系统中的核心自动化任务痛点
- 提供完整的端到端解决方案,从设计到部署全流程覆盖
Highlights
- 触发词精准完整,覆盖创建工作流模型的多种场景
- 明确区分了Cloud Service与6.5 LTS版本的边界条件
- 提供了清晰的步骤类型定义和使用场景说明
Highlights
- Phase/步骤清晰,包含完整的9步设计进度流程
- 提供了详细的输出契约和文件结构规范
- 包含完整的节点类型快速参考和默认路径规则
Highlights
- 工具来源明确,所有路径和配置都有详细说明
- 覆盖了主要异常情况(如避免生成/var目录内容)
- 提供了Cloud Manager部署和同步的完整确认机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.