layout | title | categories | prio | rulenumber | rulename | ruleset |
---|---|---|---|---|---|---|
post |
Commit actions with a loop |
Microflows |
3 |
29 |
AvoidCommitInLoop |
Performance |
Why Commiting objects within a loop will fire a SQL Update query for each iteration. This will decrease performance.

How to fix Consider committing objects outside the loop. Within the loop, add them to a list.