0 Replies Latest reply on Nov 18, 2009 8:54 AM by Fred Mac

    [jBPM4.2] how to get subprocessinstance from processInstance

    Fred Mac Newbie

      Hi !

      in the db, when a process instance forks a subprocess, the process instance keeps a key (_SUBPROCINST) to the subprocess instance. Good.
      But how to get it from the API ?

      In my context, I only have a ref to the main processInstanceId, but this one forks a subprocess that leads to a task, and I need to make the correlation between this task and the main processInstanceId

      ...and by the way, congratulations to jbpm developers for the work they did in jBPM4, that's impressive :-)

      Thanks !