JBoss Community

How to get the name of a user task?

created by Marcio Dantas in jBPM Development - View the full discussion

Hi,

 

I'm using Jbpm 5.3.0.Final and have a BPMN 2.0 user task like below:

 

<userTask id="usertask1" name="User Task Name" >

...

 

When I query my task instances using a LocalTaskService I would like to retrieve the task instance's name ("User Task Name", for example).

 

How is this done?

 

org.jbpm.task.Task has a "getNames()" which isn't returning nothing.

Reply to this message by going to Community

Start a new discussion in jBPM Development at Community