내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

How to create custom workflow steps in AEM 6.3 ?

Avatar

Community Advisor

How to create custom workflow steps in AEM 6.3 ? any Idea. because @property, @service is deprecated

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Employee

You can use the OSGI R6 Component annotation.

org.osgi.service.component.annotations.Component

@Component(service=WorkflowProcess.class, property = {"process.label=My Workflow Process"})

public class MyWorkflowProcess implements WorkflowProcess {

@Override

    public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap metaDataMap) throws WorkflowException {

    // code

    }

}

Make sure you have the appropriate dependencies.

원본 게시물의 솔루션 보기

3 답변 개

Avatar

정확한 답변 작성자:
Employee

You can use the OSGI R6 Component annotation.

org.osgi.service.component.annotations.Component

@Component(service=WorkflowProcess.class, property = {"process.label=My Workflow Process"})

public class MyWorkflowProcess implements WorkflowProcess {

@Override

    public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap metaDataMap) throws WorkflowException {

    // code

    }

}

Make sure you have the appropriate dependencies.

Avatar

Level 10

We will update the Article to show use of this - great thread!

Avatar

Level 2

Hi,

I have tried creating custom workflow steps using R6 annotation but it's not showing in workflow process step (process selection drop-down).

Please find the below Github link for the project :

GitHub - anupammaiti/AEM63AppWorkflowStep: AEM63 App Workflow Step Code For Adobe

Custom workflow step java file name :"ReplicateViaSpecificAgent.java"

Could any one please let me know if I am doing something wrong or there is some issue from product side.

Thanks in advance.

Warm Regards

Anupam Maiti