Expand my Community achievements bar.

SOLVED

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

Avatar

Level 10

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"

})

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

5 Replies

Avatar

Correct answer by
Community Advisor

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

Avatar

Level 10

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

Avatar

Community Advisor

Hi,

you just need to add WorkflowProcess.class



Arun Patidar