Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

GauravKumar
Level 2
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
GauravKumar
Correct answer by
Level 2
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
GauravKumar
Correct answer by
Level 2
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