Global Environment Scripts
Global environment scripts allow you to enter functions, classes, variables, etc., that are available for, or will execute over, all Visual Processes. They also allow the setting of global assembly imports and references, which are valid over Automator process boundaries. Global environment scripts are split into two sections:
Global Declarations: Used for variables, classes, functions, subroutines, etc., that need to be available across all Visual Processes.
References and Imports: Used for importing .NET namespaces and .NET assemblies for global use.
For global environment scripting, access the Script Editor by clicking Automator > Visual Processes on the Navigation Tree and then selecting Scripts from the menu.