limit sub-process creation

Hi,

We unintentionally generated a sub-process loop, which resulted in the creation of hundreds of processes. We can halt the loop, but traying to kill all the still active processes through the root process appears to have fully tied up Zeebe and Operate, and such a dead loop may occur again in the future because somehow it easy to do so.

Is there a Zeebe configuration or something that can limit sub-process creation and, when reached, it will stop created sub-process and provide an error to users?

Thank you very much.

Hi @triyan,

I don’t know about such a setting.
However, there is a testing framework that can be used to catch such errors:

Hi @StephanHaarmann,

thank you for your response, hence, the only solution is to test the BPMN and ensure that it does the right things then

At least, that’s the only option I’m aware of.