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.
Updated 3 years ago