1 Reply Latest reply on Nov 21, 2007 3:27 PM by Ronald van Kuijk

    question about how to retrieve all tasks

    bin yorku Newbie

      I am new about jbpm. I want to retrieve all tasks of a particular actorId, but by using the following code, only those open tasks are retrieved.

      JbpmContext jContext = JbpmConfiguration.getInstance().createJbpmContext();
      List taskList = jContext.getTaskList(actorId);

      I checked the hibernate query generated by this method, there is a condition:

      If I want to retrieve all tasks including those closed tasks and review them, how should I do? Any help? Thanks in advance.