Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 12

...

You can define special parameters in the order configuration to assign them to a specific node. The syntax for those order parameters ist <node>/<name>

Example

When 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 have access to the parameter order_param. In the other nodes, this parameter is not available.

Also substitution will be done for the order node parameter.

When you also have a node parameter this will be overwritten by the order node parameter

You also can use order node parameters if you have not defined node parameters and so have no job chain configuration file.

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

Code Block

  <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 nodes of the sample job chain. Please look at the pre processing.

Image Removed

Here is the job chain with two nodes

Image Removed

The order defines the parameters for the node.

Image Removed

You can download a sample from here.