In certain workflow scenarios, there exists a risk of inadvertently creating a loop, where two processes continuously trigger each other or a single process repeatedly triggers itself. These loops can lead to performance issues and significant complications. To mitigate this risk, we have implemented a solution known as the Loop Lock feature.
How Loop Lock Works #
Loop Lock is built to detect and halt unintended loops within Workflows. It automatically activates if five contacts are added to the blacklist within a specified time frame. Contacts are added to this list if they repeatedly enter a workflow within a short period, and they will remain on the list for a set period. For example, Loop Lock will trigger if a contact is added to a Workflow 50 times in under 30 minutes.
Should you encounter this error, rest assured that our Support team is ready to assist. Simply reach out to us, and we will promptly investigate your Workflow to identify and resolve the loop.
While loops can disrupt processes, Loop Lock ensures the stability of your workflows. For more advanced insights, we recommend reviewing our article on Understanding and Preventing Race Conditions in Workflows.
Troubleshooting Tips #
Review Your Workflow Settings #
Examine your workflow triggers and actions to ensure that processes are not set up to repeatedly loop contacts.
Check Workflow Conditions #
Ensure that conditions within the workflow prevent repetitive entries for the same contact, such as time delays or unique triggers.
Monitor Error Logs #
If you experience performance issues or receive a Loop Lock error, review the workflow logs to identify the contact or action causing the loop.
Frequently Asked Questions #
What is a workflow loop? #
A loop occurs when two processes continuously trigger each other, or a single process repeatedly triggers itself, causing contacts to re-enter a workflow over and over. This can create performance issues if left unchecked.
What is the Loop Lock feature? #
Loop Lock is an automated safeguard that detects and halts unintended loops within workflows to keep your automations stable and prevent performance problems.
When does Loop Lock activate? #
It activates when five contacts are added to the blacklist within a specified time frame. For example, it will trigger if a single contact is added to a workflow 50 times in under 30 minutes.
Can I change the Loop Lock settings? #
Loop Lock is an automated protection system, so its core functionality cannot be altered. However, our Support team can help you adjust your workflows to avoid future loops.
What should I do if I get a Loop Lock error? #
Reach out to the Support team, who will investigate your workflow to identify and resolve the loop. In the meantime, review your triggers, conditions, and error logs to find the cause.
How can I prevent loops from happening? #
Review your triggers and actions so processes don’t repeatedly re-enroll contacts, and add conditions such as time delays or unique triggers that stop the same contact from entering repeatedly.
Where can I learn more about related issues? #
We recommend reviewing the article on Understanding and Preventing Race Conditions in Workflows for more advanced insight into avoiding timing-related workflow problems.