3 Replies Latest reply on Jan 12, 2010 8:11 AM by jbarrez

    jbpm4.3:how to find  tasks by execution

    yushanyuan

      hi All,

       

         i have two questions:

       

           1, i know there is a api dbSession.findTaskByExecution(execution); but if i have  a list of task with the same exection, how to do ? by the way

                           i create the tasks by myself, like this: in a custom class, i create 3 tasks in the method of execute(execution); then i want get that                     tasklist in the method of  sign();

           2, is there a way to write my own sql?  just like session.createQuery();   or use NamedQuery?