studio
2023.4
false
UiPath logo, featuring letters U and I in white
Studio User Guide
Last updated Nov 4, 2024

ST-REL-006 - Infinite Loop

Rule ID: ST-REL-006

Scope: Activity

Description

This rule identifies potential infinite loop sequences in a Flowchart. It checks for self connecting nodes or connections that point back and can create an infinite loop. However, the rule doesn't identify such potential loops where Invoke Workflow activity is used to create a loop.

An infinite loop is defined as a sequence of instructions that loops endlessly, either due to the loop having no terminating condition, having one that can never be met, or one that causes the loop to start over.

Recommendation

If an infinite loop was found, make sure to add a termination condition. If the loop is intended, then document the code and let users know.



  • Description
  • Recommendation

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.