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
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Validate 1
Level 2
GauravKumar
Level 2

Likes

4 likes

Total Posts

11 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
GauravKumar
Level 2

Likes

4 likes

Total Posts

11 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
GauravKumar
Level 2

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
Validate 1
Level 2
GauravKumar
Level 2

Likes

4 likes

Total Posts

11 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
GauravKumar
Level 2

Likes

4 likes

Total Posts

11 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
GauravKumar
Level 2

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)