Processes are not allowed to contain a straight-through processing loop in camunda 8.7.22

Hi team I am facing the error while deploying the process in the Desktop modeler of version 5.43.1 and Camunda version is 8.7.22. error is below,

  • ERROR: Processes are not allowed to contain a straight-through processing loop: Gateway_1io7ja0 > Gateway_1yie7ik > Gateway_0wmuawu > Activity_1s8k0lk > Gateway_1io7ja0 [ deploy-error ]

Due to security reason i can’t share the complete process.

Help me to resolve the deployment error without changing the flow and considering the time also.

Thanks

This error occurs because Camunda 8 prevents deployment of straight-through processing loops to avoid infinite loops that can exhaust cluster resources. I found the following relevant resources:

Does this help? If not, can anyone from the community jump in? :waving_hand:


:light_bulb: Hints: Use the Ask AI feature in Camunda’s documentation to chat with AI and get fast help. Report bugs and features in Camuda’s GitHub issue tracker. Trust the process. :robot:

I don’t want to use any Timmer to message gateway in the loop any other way to prevent the looping I have set the condition also.

Can you share more details of the process that explain why the loop is required?

In general, a processing loop without interruption is an anti-pattern and risky, as it can cause your cluster to break.

Alternatively, you could try a multi-instance subprocess with a completion condition. A link event may also be an option.