Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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

AEM LinksLinkedIn

View solution in original post

5 Replies

Avatar

Level 10

Anyone please?

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

AEM LinksLinkedIn

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

AEM LinksLinkedIn

Avatar

Level 10

Thanks really appreciate it