Skip to Content

What to do if the process gets looped?

CMW Platform is based on the BPMN standard, which allows to create a very flexible process workflow. In particular, it is possible to adjust the variability of subsequent steps using And/Or gateways, starting a subprocess in a loop, setting a timer at any step of the process. If the gateway, subprocess, or timer was incorrectly configured, there is a possibility that the process will get looped. What to do when the process is published, launched, and it gets stuck in a loop?

Solution:

  1. First, you need to find out the reason for the process looping. Open the history of the process and determine what caused the loop: timer, gateway, subprocess. If the problem is in the timer (for example, it was set for the minimum period by mistake), change its settings. If the problem is in the gateway, change the condition in the “Advanced properties” of the gateway setup. If the problem is in the subprocess, then go to the subprocess settings and check the configurations for launch (perhaps, instead of launching on the current records, new ones are created each time, or vice versa, the process is launched on the current records, of which there is an unlimited number).
  2. After resolving the cause of the loop, publish the process.
  3. If you need to delete many loop-created records, see this article ...
  4. If you need to stop looping processes that have no value, see this article ...