Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
... This page is under construction and will be completed shortly ...
Global variables can be merged with job and order parameters.
Example showing the merging of global variables:
Code Block |
---|
Code Block |
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;
\}
|
Further information:
- Creating_global_variables
- Substituting_global_variables
- Variable_set - (JS API Reference handbook)