The Automation Engine (AE) displays a message indicating script processing is interrupted due to a potential loop.
ERROR MESSAGE: "U00010037 Object: '[OBJECT_NAME]': processing interrupted, possible loop! Script processing will continue in '001' seconds."
SYMPTOMS:
The message triggers when a script processes within the internal engine longer than a predefined threshold.
Large data sets or complex logic processed via :WHILE loops often trigger this notification.
Automation Engine (AE) Version: v24.4.3
Occurs during execution of complex AE scripts that iterate through large data sets or perform frequent database calls.
The AE internal engine includes a safety mechanism governed by SCR_LOOPCHK_TIME to prevent single scripts from hanging Work Processes. When scripts are overly complex or data-heavy, they trigger this warning to prevent engine monopolization.
There is no one prescriptive resolution. This is not specifically an ERROR that needs to be fixed. However, since it could have an impact, it's recommended to:
ADJUST THRESHOLD (IF APPLICABLE) If the script is efficient but naturally requires more time than the default limit, consider adjusting the threshold.
Setting: SCR_LOOPCHK_TIME
Location: UC_SYSTEM_SETTINGS (Client 0)
CONSIDER EXTERNAL OFFLOADING (OPTIONAL) For scripts performing heavy data iterations or complex database calls that risk crippling WP performance, consider moving the logic to an external script (e.g., PowerShell).