Delay between lines of code

As Phil already mentioned - if you want control over execution, scheduling, and to have a guarantee when something is done, considering dropping the transaction group entirely in favor of a script:

2 Likes