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...
How do I ensure a particular execution is only going after the details related to a specific Process Definition???