1 Reply Latest reply on Nov 21, 2007 3:27 PM by kukeltje

    question about how to retrieve all tasks

    binyorku

      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:
      taskinstan0_.ISOPEN_=1

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