How to remove loops
- Last Updated: April 30, 2021
- 1 minute read
- Corticon
- Version 7.2
- Documentation
If the Check for Logical Loops tool detects loops, you can take one of several corrective actions:
- If no loops are what you want, then click and de-select whichever of the two looping options is currently selected. When done, the Check for Logical Loops tool will no longer detect loops and the software will no longer process them.
- If loops are what you want, then take measures to ensure that none of
the loops can be infinite. Normally, this means adding conditional logic to one of
the looping rules to make sure that the rule can't be satisfied indefinitely. This is
similar to the bounding of Condition 1 in Example of a finite multi-rule loop using a Values set of
0..20. WhenCargo.weightreaches21, the rule's condition will no longer be satisfied and the loop terminates. - If some loops are good and some are not, then remove the inter-dependencies in the unwanted loops and ensure that the selected loops are not infinite.