Skip to main content
March 7, 2023
Solved

Performance slows down in a looping sub-process.

  • March 7, 2023
  • 3 replies
  • 0 views

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

    Best answer by shyamb

    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
    March 7, 2023

    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.

    March 7, 2023

    Thanks, problem solved by using Start Process.

    adityag9712
    March 7, 2023

    Hi, 

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