AnsweredAssumed Answered

Determine parent process name in sub-process (at any level) using Script

Question asked by on Aug 31, 2017
Latest reply on Sep 4, 2017 by

Hi experts,


Can you help me out with method/class/example on how we can determine the name of the root-parent process from a sub-process.


We have a sub-process which is defined at a Global level in our instance and this is reused across many processes. The issue is that the level at which this is used might differ, in some processes we use this in the main root process while in others it is used in a sub-process. The script is needed in this global sub process.


We were able to get to the top level execution ID and get the parent process name also, but the issue is there are instances where the parent process isn't the root process.


Hope I was able to express my situation well.