Script Include Trigger
- Not many configuration options as a Script Include runs only when called
- Runs server-side
- No default objects
- Data (parameters) passed in from the calling script
Name - name of Script Include. No spaces, no special characters. Format is very important
API Name - The API name of the script, including the scope and script name.
Client Callable - select this option if client-side scripts can call the Script Include
Application - identifies the scope of the Script Include.
Accessible from - sets the accessibility of the Script Include.
- All application scopes: sets the Script Include to be global, and can be accessed from any script.
- This application scope only: sets the Script Include to be private and can only be accessed by other script in the same scope.
Active - select this option if the Script Include is executable. If this option is not selected the Script Include will not run even if called from another script.
Description - (optional but highly recommended) documentation explaining the purpose and function of the Script Include.
Script - script logic to execute.
- This application scope only: sets the Script Include to be private and can only be accessed by other script in the same scope.
IMPORTANT
A Script Include will NOT execute if there are spaces or special characters in its time.