Hi,
Since Zeebe still doesnt support built-in loop, Im building loop process and I can see modeler throwing exception. When I deploy the model, it successfully deployed as well as initiated the process as well. So is this a bug in modeler?
Exception:
> A <Process> is not allowed to contain a straight-through processing loop: <Activity_1bn5ffb>, <Gateway_0cgxgo5>
So, it looks like in this case the linting tool is getting a little overzealous. It’s managed to catch what it thinks may result in an infinite loop - but in your case, it obviously wouldn’t. So we’re going to look into fix this.
In your case the error has been thrown correctly. Your process has the potential for an infinite loop and the error you’re seeing is designed to catch processes that if deployed and run would end up just running until the server crashes
This is down to the fact that the tasks in the process have no task type so the engine won’t stop when they’re reached. To deploy this model you simply need to convert the tasks to a specific task type like a User Task.