1 Reply Latest reply on Oct 4, 2012 2:46 PM by Marcio Dantas

    How to get the name of a user task?

    Marcio Dantas Newbie

      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.