You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

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

  • No labels