Startup Scripts
These script types are available in both Gateway and Client scopes. These scripts will be run when the project starts up or shuts down.
In the Gateway scripting scope, this means that the script will run when the Gateway starts up or is shut down, and whenever the scripting configuration changes via a Designer save action. This means that while designing, the startup and shutdown events may happen frequently.
In the Client scripting scope, these scripts run after a user successfully logs in or out, or when the client is closed.