Some of events are executed on “Workflow complete” such as:
updating of DataLastRun
moving of keys from session.vault into myVault
moving of keys from session.vaultGlobal into Global myVault
“Workflow complete” event occurs after running or debugging of block in case if:
block is a last enabled block
block status is “Ready“
Please also see by this link