Skip to main content
Known Participant
Mar 7, 2023 2:08 AM UTC
Solved

Performance slows down in a looping sub-process.

Hi Appian,

There is a Process model(A) and within it there is Process model(B) as sub-process.

When executing the process, it works fine with great performance for the first loop. (less than 1 sec)

But for the loops after the frist loop, the process performance slows down massively (more than 13~16 sec, at least 13 times the first loop performance.)  

 

The preformance of the process slows down massively. And this is a critical problem for us.

What might be the reason for slow down of the performance.

And how could we fix this?

Thank you

    shyambAnswer
    Participating Frequently
    Mar 7, 2023 3:52 AM UTC

    It is not recommend to chain thru a sub process. The subprocess node execute the subprocess instance in the same execution engine. I recommend using Start Process node instead.

    Please share your use case.

    3 replies

    shyambAnswer
    Participating Frequently
    Mar 7, 2023 3:52 AM UTC

    It is not recommend to chain thru a sub process. The subprocess node execute the subprocess instance in the same execution engine. I recommend using Start Process node instead.

    Please share your use case.

    Known Participant
    Mar 7, 2023 5:35 AM UTC

    Thanks, problem solved by using Start Process.

    adityag9712
    Inspiring
    Mar 7, 2023 5:29 AM UTC

    Hi, 

    I do agree with Shyam, please remove the unnecessary chaining. We can use the Start Process Node if output is not expected.  

    - Aditya