Have been doing some thorough searching to find out how I can obtain parent/child processes of specific process instances. What I'm trying to do is send a notification e-mail with Java code when multiple sub-processes come together on the same gateway.
I'm working on the the following assumption:
- the remote API can't query for parent/child processes directly
Is this correct?
I've since looked into creating an event listener, but the issue is, while I can see when a sub-process has started and get its instance id, I need to map it to it's master process, and further a 'project' associated with the master process so I can e-mail the appropriate people. That brings me back to my original problem of not being able to get parent/children.
Does that make sense? Can you confirm my assumption? Are there any other avenues I can take?