Table of Contents
Introduction
This example configures shows the configuration of a job chain using parameters from a job chain with jobs that parameter file. The jobs in the job chain use a special monitor to read parameters from the job chain parameter filesfile. The parameters in these files the job chain parameter file can reference other (global) parameters.
Usage Notes
The flexible use of parameters possible with job chain node parameters cannot be achieved using normal order parameters. It could be achieved by using job parameters but if the same job is used at multiple steps in a job chain or in different job chains you would have to define multiple instances of that job, although it is the same job implementation.
For example, if a job chain consisted of three steps:
- transfer a file by FTP to host a,
- transfer a file by FTP to host b,
- delete file.
You could use the same job for steps 1 and 2 using different parameters for each job.
In the current example the same job will be used twice but with different parameters.
Downloads
- job_chain_node_params.zip - configuration files
...
- The second
<params>
element is a child of<process state="second">
. It configures parameters for the second node (called "second") of the job chain. It overwrites theparam2
parameter and sets it toxyz
.param3
is not set at all, thus it doesn't appear in the log for statesecond
. param4
is defined in the same way as in statefirst
, but this time the resulting value is different becauseparam2
has been overwritten for this state.
Usage Notes
This flexible use of parameters cannot be achieved using normal order parameters. It could be achieved by using job parameters, but if the same job is used at multiple steps in a job chain or in different job chains you would have to define multiple instances of that job, although it is the same job implementation.
For example, if a job chain consisted of three steps:
- transfer a file by FTP to host a,
- transfer a file by FTP to host b,
- delete file.
You could use the same job for steps 1 and 2 using different parameters for each job.
...
- .
Scope / Application
In job chain parameter files the ${PARAMNAME}
-syntax can be used to reference:
...