Skip to main content
December 13, 2024
Question

What is this error indicating - The task tries to instantiate a sub-process with depth greater than the limit of 100

  • December 13, 2024
  • 6 replies
  • 0 views

    6 replies

    mathieud0001
    December 13, 2024

    Care to share the process model? From what I can tell, It looks like you may have a process that is calling itself in a subprocess.

    December 17, 2024

    The mainprocess will call itselt as a sub-process at the end, how is process depth counted here? Like other sub-processes are also counted

    mathieud0001
    December 17, 2024

    Well that's pretty much your issue right there. You have a recursive loop. Technically, you can only loop 100 times using this method.

    mikes0011
    Brainy
    December 13, 2024

    As the error message says: the maximum "depth" of subprocess calls (from the top-most parent) is 100.  The only time I've run into this myself was when I was using a system of recursively invoking new instances of the original top-level process to avoid having to do too much looping in the design (which, to be fair, worked well until one particular instance pushed the depth over 100).