Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Interim save

...

Example showing job chain node parameters defined for an order

Status
colourYellow
titleSection is Work In Progress

 

Job Node Parameters

 

  • You can define special parameters in the order configuration and assign them to a specific job chain node.
  • The syntax for these order parameters is <node>/<name>

 

Scenario

 

If you have a job chain with a node 100 then you can specify a parameter with the name 100/order_param. The job in the node 100 then has access to the parameter order_param. In the other nodes this parameter will not be available.

 

  • Substitution will be done for the order node parameter.
  • If you have a job chain node parameter with the same name then it will be overwritten by the order node parameter
  • You can use order node parameters if you did not define any job chain node parameters and therefore did not create a job chain configuration file.
  • To

...

  • activate the order node function please add the configuration monitor to the pre-processing of the job in the job node.

 

Example for assigning a configuration monitor

 

Code Block
languagexml
  <job  stop_on_error="no" order="yes" name="job2">
     ....
    <monitor  name="configuration_monitor" ordering="0">
        <script  language="java" java_class_path="" java_class="sos.scheduler.managed.configuration.ConfigurationOrderMonitor"/>
    </monitor>
  /job>

This job will be used in both job nodes of the sample job chain. Please consider the pre-processing:

 

Image Added

Here is the job chain with two nodes:

 

Image Added

The order defines the parameters for the job chain node.

 

Image Added

 

Related Downloads

 

  • You can download a sample from here.

Example showing job chain node parameters defined for the job chain

...