The transaction nodes aren’t really doing anything for you here. Most of the time you don’t need them because the nodes handle the transactions required by the Revit API themselves.
You have two parallel processes, so you don’t have control over what gets executed first. One way around this would be to use a waitfor strategy to link the two parts