The commit is best described here: https://docs.mendix.com/refguide/committing-objects/#how-commits-work, and yes, you are correct: Previous commits do reflect in the results of a retrieve that is further down the microflow. If you want to see it in action:
- run your app locally,
- set a breakpoint after the commit,
- check the database to see that the object has not yet changed,
- step over the retrieve
- check the retrieve’s content to see the object has changed
- finish the microflow
- check the database to see that the object has not yet changed,