2 Replies Latest reply on Nov 4, 2005 6:56 AM by Tom Baeyens

    How do you get all Sub Processes started by a given process?

    Guy Walker Newbie

      I'm trying to find a way to make sure if I end a process, i can be sure that all sub process are closed down first. I notice that I can getSubProcessInstance on a token, but couldn't a given token have started more than one sub process?
      There doesn't appear to be a method to return all sub processes. Can a token only start one subprocess, in which case I guess i need to get all children from the root token and then get the sub processes from those.

      Have I answered my own question?