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.
Just finded out what was going wrong..
I first modeled the diagram with Activiti designer and then opened it with Jbpm's.
The graphical editor showed the task names right, but the TaskName attribute wasn't really setted.
Hope this helps someone else.
Retrieving data ...