Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
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
When 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 have has access to the parameter order_param. In the other nodes , this parameter is will not be available.
- Also substitution Substitution will be done for the order node parameter.
- When If you also have a job chain node parameter this with the same name then it will be overwritten by the order node parameter
- You also can use order node parameters if you have not defined did not define any job chain node parameters and so have no 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 | ||
---|---|---|
| ||
<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 look at consider the pre-processing. :
Here is the job chain with two nodes:
The order defines the parameters for the job chain node.
Related Downloads
- You can download a sample from here.