How can I give the process.label property for creating the process step in workflow with the use of osgi annotations?

Avatar

Avatar

GauravKumar

Avatar

GauravKumar

GauravKumar

05-07-2017

Hi guys,

I want to create my custom process step with the use of osgi annotations instead of scr annotations. I used like this but it's not working:

@Component(service = MyClass.class,

property = {

Constants.SERVICE_DESCRIPTION + "=Custom Process Step",

"process.label = MyCustomWorkflow"

})

Can anyone help me for this?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

GauravKumar

Avatar

GauravKumar

GauravKumar

05-07-2017

I got this answer. For showing the value of process step in drop down we have to use annotation like this:

@Component(immediate = true, property = { "process.label=Generate CustomUUID", })

Answers (0)