workflow-development

Build and deploy custom AEM Workflow components with OSGi registrations.

1|Updated Oct 7, 2024
One-click install
npx skills add https://github.com/valithedge/etisalatedge --skill workflow-development-valithedge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workflow-development
Source: https://github.com/valithedge/etisalatedge/tree/main/.agents/skills/workflow-development
Command: npx skills add https://github.com/valithedge/etisalatedge --skill workflow-development-valithedge

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Implement custom workflow components for AEM 6.5 LTS: WorkflowProcess, ParticipantStepChooser, and OSGi registrations using Felix SCR or DS R6 annotations, with robust metadata handling and error/retry patterns.

Core Features & Use Cases

  • Create and register custom workflow steps (PROCESS, PARTICIPANT).
  • Access and manipulate payloads, metadata, and step arguments from MetaDataMap.
  • Handle errors with WorkflowException to trigger retries and control flow.

Quick Start

Implement and register a WorkflowProcess or ParticipantStepChooser, then deploy the bundle to enable custom steps in AEM 6.5 LTS workflows.

Frequently Asked Questions about workflow-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create custom AEM workflow steps for automated processing?

To create custom AEM workflow steps, implement the WorkflowProcess interface and register it as an OSGi component using DS R6 or Felix SCR annotations, then deploy the bundle to AEM 6.5 LTS.

How do I handle metadata and payload data in AEM workflow steps?

AEM workflow steps handle metadata and payload data through the MetaDataMap, which provides access to step arguments, instance data, and payload information during both automated and human-involved workflow execution.

Can I implement a dynamic participant step chooser in AEM 6.5 LTS?

Yes, you can implement a dynamic participant step chooser in AEM 6.5 LTS by creating a ParticipantStepChooser component, registering it with DS R6 or Felix SCR, and deploying it to control workflow routing.

How do I trigger retries when an AEM workflow process step fails?

To trigger retries when an AEM workflow process step fails, throw a WorkflowException from the WorkflowProcess implementation, which signals the AEM workflow engine to retry the failed step automatically.

What's the difference between DS R6 and Felix SCR for registering AEM workflow components?

Both DS R6 and Felix SCR annotations register OSGi components for AEM workflows, but DS R6 is the newer OSGi Declarative Services standard while Felix SCR is the legacy Apache Felix approach. This Skill supports both registration methods.