This is hard to analyse based on the info you are providing.
What lead to your conclusion that is “does not work”? Does it casues errors, if so, which errors? Is the data not updated? Did you log/debug, so prove that the microflow is executed? I notice the sequence of steps differs between the two microflow is different. Why?
Maybe it is simply because in the first flow you do not commit the results?