3 Replies Latest reply on Oct 19, 2005 2:57 PM by aguizar

    Find tasks that I have generated

    polarbaerhh

      Hi,

      is there a possibility to find all all task an actor has generated? So that when he get's a reponse of a person who finished the task, that he can recall it to see what it was? Especially when Tasks consists of text messages someone has to read, work on it and set it finished.

      Greet

      Marcus

        • 1. Re: Find tasks that I have generated
          kukeltje

          there is something like a previousActorID on the task, but I do not know exactely how it should be used and if it does what you want. I myself currently use a process-variable for this. Works nice

          • 2. Re: Find tasks that I have generated
            polarbaerhh

            Thank you. No, that's not what I wanted. The previous actorId should be used if task is assigned to another person, so that you can find out who worked on it before.
            Then I write the things I need to a "taskinformation object" or similar, that is stored in an action or through the assignment handler.
            Just don't want too build sth. when it's already there somehow.

            Greets from Hamburg

            • 3. Re: Find tasks that I have generated
              aguizar

              The requirement is not completely clear to me. Anyway, method TaskMgmtSession::findTaskInstances(actorId) might help you. It finds all non-ended, non-canceled tasks belonging to a user. If you need to find ended tasks, you might still want to take a look at its source code as a start point for your own query.