Optimization commit inside loop in a microflow call

0
I know it is not optimize to commit object inside a loop, it is better to add all the objects in a list and then commit the list after the loop. But when I call a microflow inside of a loop, and inside of that microflow some objects are commited. is this also bad for performance? should I rewrite that microflow to not commit objects?   Thanks
asked
1 answers
4

Yes that has the same performance hit. So committing in loop does not matter if the commit is done directly in the loop or if the commit is in the submicroflow. Try always to commit outside the loop if possible.

Regards,

Ronald

 

answered