Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This documentation describes how the substitution of parameter values works in JobScheduler. It is also described how to use paramters parameters in shell script, API Jobs and pre- and postprocessing scripts.

...

  • before processing
    • copy the node paramters that are defined in jobchain.config.xml into the the order paramters
    • if an order parameter with the same name already exits, it will be overwritten
    • substitution of all ${<param>} with
      • JobScheduler parameters that are defined in the file $scheduler_data/config/scheduler.xml
      • task parameters that are defined in the actual running job
      • order parameters that are defined in the order
      • node paramters that has been copied to the order parameters
  • after processing
    • delete all node parameters from the order.

 

Please note:

  • If a task parameter value should be substituted by the configurationMonitor the value has to be quotedto avoid the substitution by the JobScheduler
    • Example: a value \${param}
  • If the parameter scheduler.order.keep_order_content_on_reschedule=true the values will be substituted only in the first run.

 

Substituion of parameter values done by JITL-Jobs extending JobSchedulerJobAdapter

There are JITL-Jobs that extends the base class JobSchedulerJobAdapter and some older jobs do extend JobSchedulerJob. Please see a list here JITL Jobs - Status