1 Reply Latest reply on Sep 17, 2010 8:29 AM by rebody

    how to get user task list with process definition name

    syllepsa

      Hi,

       

      How to construct hql query to retrieve a user task list with process definition name (related with given task) ?

       

      Thanks in advance

       

      Mariusz

        • 1. Re: how to get user task list with process definition name
          rebody

          Hi Mariusz,

           

            the name of process definition is stored in the JBPM4_DEPLOYPROP,  with a specified name.  I cannot remember it clearly.  But I think you could find it from source codes.

            And you could find processInstance by using taskImpl.processInstance(), and you could get process deifnition id from processInstance. Then you could get processDefintionName by processDefinitionId,  they both stored in the JBPM4_DEPLOYPROP.

           

            And good luck.:)