--- title: "Looping Warning in Automations" slug: "looping-warning-in-automations" updated: 2024-03-06T15:34:17Z published: 2024-03-06T15:34:17Z canonical: "support.tulip.co/looping-warning-in-automations" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.tulip.co/llms.txt > Use this file to discover all available pages before exploring further. # 自动程序中的循环警告 在Automation编辑器中,您可能会收到这样一条警告:"此自动化可能会持续触发自身。可以通过添加决定来避免这种情况。这是一个循环警告,当自动化设置为不间断运行时会弹出。 ### 循环警告是什么意思? 该警告意味着您的自动化将持续循环,直到 Tulip 的内置控制在单个事件连续运行 25 次后停止自动化循环。 当您的事件具有与自动化启动事件相匹配的操作时,就会触发该警告。例如,如果自动操作正在监听表 "Inventory Stockpile 4 "的表记录更新,而 "Inventory Stockpile 4 "有表记录更新,则会弹出警告。 以下事件类型可能会出现这种情况: - 表记录已添加 - 已更新 - 删除 - 机器活动更新 - 机器属性更新 ### 如何修复循环错误 有几种方法可以消除错误: 1. 如果事件是表记录更新,则修改应用程序触发器,使其包含一个布尔字段。将布尔值命名为 "由应用程序更新",并将布尔值设置为 "True"。有关如何正确实施的示例,请参阅 "[自动化库存管理](https://support.tulip.co/r230/docs/inventory-management-solution-with-automations)"。 接下来,在自动化中创建一个决策块来检查布尔值。![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28464%29.png) 在 "表记录更新 "事件中,将 "由应用程序更新 "字段设置为 "否",以阻止循环再触发 24 次。 ![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28465%29.png) 1. 如果事件是表记录创建/更新/删除,则可以更改操作(如将表记录更新改为表记录创建)。 2. 如果循环已经完成,只需关闭警告即可。请注意,它会在页面刷新时返回。 **Automation** **Workflow** that performs tasks in the background, without an interface. Automations run logic every time an **event** occurs. ![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Glossary/Automations1.gif)