Run Configurations allow a parameterized execution of a script. Right-click on a Groovy script in the Files view and select "New Run Configuration...".
A Run Configuration consists of
-
a name
-
a description
-
a list of parameters and values that are inherited from the script's default Run Configuration.
Run configurations are used in two places: When a Groovy script is run manually, and when a Groovy script is run automatically. They are saved in the same directory as the script as <scriptname>#<runconfigname>.rcfg