Global Variables
Global variables can be merged with job parameters and order parameters.
Example showing the merging of global variables:
function spooler_task_before() { var globals = spooler.create_variable_set(); globals.merge( spooler.variables() ); var parameters = spooler_task.params(); globals.merge( parameters ); spooler_task.params().merge( globals ); return true; }
See also
- How to create global variables
- How to set job and order parameters by substituting global variables
- Variable_set - (JobScheduler API Reference Handbook)