1 Reply Latest reply on Nov 23, 2005 9:47 AM by kukeltje

    Fetching task instances through TaskMgmtSession class.

    saviola

      Hello, everyone!
      As most of you probably know TaskMgmtSession class provides quite convinient methods for fetching task instances of both "normal" and pooled users.
      Unfortunatelly all these methods specify in their HQL queries that only not ended and not canceled task instances are fetched. So if for example you want to see what tasks had you worked on in the past you have to write your own method - correct me if I am wrong.
      What I would like to ask is is there any possibility so I can fetch not only unfinished and not canceled task instances? If not don't you think that it would be convinient for that to be possible?

      Regards,
      Saviola

        • 1. Re: Fetching task instances through TaskMgmtSession class.
          kukeltje

           

          "Saviola" wrote:

          So if for example you want to see what tasks had you worked on in the past you have to write your own method - correct me if I am wrong.
          Yes, or your own class
          "Saviola" wrote:

          What I would like to ask is is there any possibility so I can fetch not only unfinished and not canceled task instances?
          Yes, see answer above
          "Saviola" wrote:
          If not don't you think that it would be convinient for that to be possible?

          Certainly, but there are so many additions that we first like to focus on the core and most required functionality. Mainly because this functionality you require can be achieved in a not so complex way.