workflow-model-design
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.0
- 所属仓库
- kalash33/kstack
- 最近更新
- 2026-05-20
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- workflow-model-design
- license
- Apache-2.0
- 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.
02 资源文件 9
- 参考文档references/workflow-foundation/api-reference.md3.5 KB
- 参考文档references/workflow-foundation/architecture-overview.md2.3 KB
- 参考文档references/workflow-foundation/cloud-service-guardrails.md2.7 KB
- 参考文档references/workflow-foundation/jcr-paths-reference.md2.4 KB
- 参考文档references/workflow-foundation/quick-start-guide.md2.0 KB
- 参考文档references/workflow-foundation/README.md826 B
- 参考文档references/workflow-model-design/model-design-patterns.md3.2 KB
- 参考文档references/workflow-model-design/model-xml-reference.md4.0 KB
- 参考文档references/workflow-model-design/step-types-catalog.md4.7 KB
03 SKILL.md 正文
Workflow Model Design (Cloud Service)
Design workflow models for AEM Cloud Service: step structure, transitions, OR/AND splits, variables, and model XML deployment.
Variant Scope
- This skill is AEM Cloud Service only.
- Models are stored at
/conf/global/settings/workflow/models/. Do not write to/libsor/etc.
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: nodes + transitions + metaData with correct step properties
- [ ] 6) Add filter.xml entry with mode="merge" for the model path
- [ ] 7) Verify model synced to /var/workflow/models/ after deployment
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 = ECMA/Groovy |
AND_SPLIT |
All branches execute in parallel | — |
AND_JOIN |
Wait for all parallel branches | — |
EXTERNAL_PROCESS |
Poll an external system | EXTERNAL_PROCESS = FQCN |
Cloud Service Deployment
- Place model XML at:
/conf/global/settings/workflow/models/<name>/jcr:content/model/ - Add to
ui.contentpackage withfilter.xmlentrymode="merge" - After Cloud Manager pipeline install: open Workflow Model Editor → Sync (or use
deployModel()) - Engine reads from
/var/workflow/models/<name>— verify sync succeeded
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
04 同仓库更多 Skills
zustand-store-ts
Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation. Use when building React state management, creating global stores, or implementing reacti...
zoom-automation
Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.
zoho-crm-automation
Automate Zoho CRM tasks via Rube MCP (Composio): create/update records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.
zod-validation-expert
Expert in Zod — TypeScript-first schema validation. Covers parsing, custom errors, refinements, type inference, and integration with React Hook Form, Next.js, and tRPC.
zeroize-audit
Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C/C++/Rust code handling secrets, keys, passwords, or other sensitive data.
zendesk-automation
Automate Zendesk tasks via Rube MCP (Composio): tickets, users, organizations, replies. Always search tools first for current schemas.