AEM 6.4 unable to see the custom workflow process in the dropdown | Community
Skip to main content
Level 9
Jun 14, 2018 7:41 PM UTC
Solved

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

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.
arunpatidar
arunpatidarAccepted solution
New Participant
Jun 14, 2018 8:33 PM UTC

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

5 replies

Level 9
Jun 14, 2018 9:17 PM UTC

Thanks really appreciate it

Translate
arunpatidar
New Participant
Jun 14, 2018 8:42 PM UTC

Hi,

you just need to add WorkflowProcess.class

Translate
Arun Patidar
Level 9
Jun 14, 2018 8:35 PM UTC

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

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
Jun 14, 2018 8:33 PM UTC

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

Translate
Arun Patidar
Level 9
Jun 14, 2018 8:12 PM UTC

Anyone please?

Translate