1 Reply Latest reply on Mar 3, 2006 10:24 AM by fmuhlenberg

    How to isolate by Process Definition

    amalycky

      Maybe I am missing something, but

      if I want to get a list of all tasks for a given actor and
      I create my jbpmsession through the factory and
      I call jbpmSession.getTaskMgmtSession().findTaskInstances("myActor")

      what is stopping me from getting tasks assigned to this actor in all the different JBPM processes deployed, as well as all the tasks for each older version of my process ???

      How do I ensure a particular execution is only going after the details related to a specific Process Definition???

      Please, please - an answer here would be wonderful...

        • 1. Re: How to isolate by Process Definition
          fmuhlenberg

           


          How do I ensure a particular execution is only going after the details related to a specific Process Definition???


          You could filter the results.

          Find the process instance associated with the task and then look at the process definition.
          -fm