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