5 Replies Latest reply on Mar 2, 2009 6:12 PM by Brad Davis

    TaskInstance order by in taskList.getTaskInstances() ?

    Salvo Newbie

      Hi to all you,

      I'm newbye in jbpm use. I have a doubt, I tried searching the forums but have not found the answer:

      I get the user's tasklist, and, using "taskList.getTaskInstances() ", I retrieve all istance task the user has.

      In my example user has many tasks, but the order in which they are seems to be casual. Can I have the possibility to retrieve that list ordered by ID ? this should assure I have the list ordered from oldest to latest.
      I use jbpm 3.2.3.

      Tnx a lot