4 Replies Latest reply on Aug 19, 2014 12:54 AM by mayankjain

    Root Process Instance and SubProcess Instance

    gaborj

      Hi,

       

      Is there a way to reference sub-process instances from my root process instance and back while using persistence?

       

      scenario: I start 3 root process immediately after each other. These starts 3x3=9 sub-processes in a loop. While they are running I can reference them using the ProcessInstanceInfo Entities through JPA. In the table I can find all the sub-processes as well but I do not see the relations persisted for the instances, which sub-process instance belog to which root...?

      Do I miss something?

       

      (I'm using jbpm 5.1CR1 and the JPAKnowledgeService to load my StatefulKnowledgeSession and using async workItems)

       

      Thanks,

      Gabor