Subscribe

UiPath Studio

The UiPath Studio Guide

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.

998

Updated 3 years ago


ST-REL-006 - Infinite Loop


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.