AEM 6.4 unable to see the custom workflow process in the dropdown | Community
Skip to main content
Level 9
June 14, 2018
Solved

AEM 6.4 unable to see the custom workflow process in the dropdown

  • June 14, 2018
  • 5 replies
  • 2892 views

Hey Guys,

After refactoring code to 6.4 i am not able to see the custom process in the dropdown for the custom process step for the workflow

Am i missing something?

Refactored the annotations alone

@Component(immediate = false, property={

        Constants.SERVICE_DESCRIPTION + "=Description.",

        Constants.SERVICE_VENDOR + "=vendor",

        "process.label" + "=Label"

})

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Hi,

You need to add service = WorkflowProcess.class in component annotation

e.g.

@Component(service = WorkflowProcess.class, property = {

  Constants.SERVICE_DESCRIPTION + "=A dummy workflow process ",

  "process.label=Dummy AEM63App Workflow Process" })

Thanks

Arun

5 replies

Level 9
June 14, 2018

Anyone please?

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
June 14, 2018

Hi,

You need to add service = WorkflowProcess.class in component annotation

e.g.

@Component(service = WorkflowProcess.class, property = {

  Constants.SERVICE_DESCRIPTION + "=A dummy workflow process ",

  "process.label=Dummy AEM63App Workflow Process" })

Thanks

Arun

Arun Patidar
Level 9
June 14, 2018

So even if my class extends another class should i just add WorkflowProcess.class  or should i add the class name that it extends

arunpatidar
Community Advisor
Community Advisor
June 14, 2018

Hi,

you just need to add WorkflowProcess.class

Arun Patidar
Level 9
June 14, 2018

Thanks really appreciate it