Skip to content

Files

Latest commit

 

History

History
19 lines (14 loc) · 416 Bytes

29-Commit-actions-with-a-loop.markdown

File metadata and controls

19 lines (14 loc) · 416 Bytes
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.

![29.png]({{ site.url }}/assets/29.png)

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