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

    how to get user task list with process definition name

    Mariusz Malinowski Newbie

      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
          HuiSheng Xu Master

          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.:)