Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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?

1 Accepted Solution

Avatar

Correct answer by
Level 2

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", })

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

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", })