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

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

  • June 14, 2018
  • 5 replies
  • 2891 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

New Participant
June 14, 2018

Thanks really appreciate it

arunpatidar
New Participant
June 14, 2018

Hi,

you just need to add WorkflowProcess.class

Arun Patidar
New Participant
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
arunpatidarAccepted solution
New Participant
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
New Participant
June 14, 2018

Anyone please?