Can someone explain to me when exactly the post-patch agent procedures run?

-There's "Run Agent Procedure after Automatic Update", which seems to run after the Automatic Update window, even if no updates are actually applied/installed? I was under the impression this would only run if updates were actualy installed, the machine rebooted and re-ran the patch scan. At which point Automatic Updates are "Done"

-There's also "Run Agent Procedure after Machine is rebooted". Does this run only if Kaseya manages the rebooting? What happens if you have the machine set to not reboot and send an alert? Will this Agent Proc still run after the next manual reboot of the agent?

Kaseya Documentation seems to be sorely lacking any kind of explanation of these.