Skip to main content
Known Participant
Dec 13, 2024 10:30 AM UTC
Question

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

    6 replies

    mathieud0001
    Genius
    Dec 13, 2024 11:48 AM UTC

    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.

    Known Participant
    Dec 17, 2024 8:06 AM UTC

    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
    Genius
    Dec 17, 2024 1:19 PM UTC

    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
    Dec 13, 2024 5:52 PM UTC

    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).

    The Expression Guru