0 Replies Latest reply on Oct 27, 2005 12:12 AM by Andy Yeung

    Getting subprocess log from parent process instance id

    Andy Yeung Newbie

      I've started a subprocess within the parent flow. The process state node is log to the JBPM_LOG and I am able to get it back using findLogsByProcessInstance. This api return a map which contains each token as key. However it does not included the token of the subprocess. How can I get back the subprocess flow log as I do not know it's process id?
      There is api to get the parent process using the child process. But I can't api in getting the child process using the parent one.
      Token.getSubProcessInstance() also don't work because when the subprocess exit. setSubProcessInstance is called and set to null.